assign passed variable as selected value in drop down box

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • backups2007
    New Member
    • Jul 2007
    • 92

    assign passed variable as selected value in drop down box

    What I need to do is be able to pass a variable that gets assigned as a selected value to a dorp down box. I need to pass it to another page.

    Please help.
  • stepterr
    New Member
    • Nov 2007
    • 157

    #2
    Originally posted by backups2007
    What I need to do is be able to pass a variable that gets assigned as a selected value to a dorp down box. I need to pass it to another page.

    Please help.

    How are you getting to the second page? If you are posting your form directly to the second page then you can use $_POST['fieldname'] on the second page for the value that was selected in the drop down. Do you have any code written already? If so it might be helpful if you could post that here for us to see what you are trying to do.

    Comment

    Working...