How to link to new php template page from dropdown list?

Discussion in 'PHP' started by Frankenfine, May 17, 2010.

  1. #1
    I have a php mysql project with a dropdown list box. The dropdown shows list of stories in my database table. But nothing happens when user selects one.

    But how do I enable ACTION to link to new page of content?

    <SELECT NAME=thing>
    <OPTION VALUE=0>Choose
    $options.="<OPTION VALUE=\"$id\">".$thing.'</option>';
    </SELECT>

    kisses!!:p
     
    Frankenfine, May 17, 2010 IP
  2. vetrivel

    vetrivel Peon

    Messages:
    147
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #2
    use onchange function in the SELECT and submit it to the page

     
    vetrivel, May 17, 2010 IP
  3. Frankenfine

    Frankenfine Peon

    Messages:
    122
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #3
    thanks, but as a newb I could use some code examples. pretty please?? :) :)
     
    Frankenfine, May 17, 2010 IP