I have a form on a PHP page that has a drop-down list and a submit button. I’m sending the selected drop down choice data via POST.
Now, when I try to grab this data on another page. I only get the “index” (eg: 1 or 2 or 3 etc.) of the drop-down list and not its actual “value”. Is there any way, I can make my PHP page send the value as POST data instead?
Am sure that you did not give value for drop down options.
See this
Now try posting and get value
http://www.abbeyworkshop.com/howto/lamp/php-listbox/index.html