Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New to the CF scene
    Join Date
    Sep 2004
    Location
    BRISSIE AUS
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Question Poll/Voting with addon

    Gday fellas. (and chicks)

    I am new to php and was wondering if someone could help me with a script similar to a regular voting/poll script (available freely everywhere). The difference with what I want is that i want to have the selectable answers to the question PLUS a text box for other opinions/answers. Then after that there will be a new answer to the question....
    eg......

    What is the greatest song of all time???

    o SONG ONE - ARTIST ONE
    o SONG TWO - ARTIST TWO
    o OTHER |A TEXT BOX FOR USERS' INPUT (SONG THREE - ARTIST THREE)|

    next time someone visits this poll,

    the options will be

    o SONG ONE - ARTIST ONE
    o SONG TWO - ARTIST TWO
    o SONG THREE - ARTIST THREE


    Any help would be greatly appreciated.
    Thanx
    DanRicho
    (danricho@hotmail.com)

  • #2
    raf
    raf is offline
    Master Coder
    Join Date
    Jul 2002
    Posts
    6,589
    Thanks
    0
    Thanked 0 Times in 0 Posts
    welcome here.

    the only thing that you need to do in the page that processes the form, is check if that textfield containes a value. If so, then insert it in the table where you pul your alternatives from.

    if you need more help, then we need to know how your alternatives table looks like.
    Posting guidelines I use to see if I will spend time to answer your question : http://www.catb.org/~esr/faqs/smart-questions.html


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •