drop down list box data from MySQL table: how to use values?

wlh1950
01:04:13
I want to pass the value(s) of the selected record from the drop down list into another php-script. How do I do that?
smo1234
01-05-2013
This is like any other text input , you have to use a form and collect the data in your PHP script. If your select box name is s1 then in collecting script you will get the selected option as

$s1=$_POST['s1'];

You can read more on how the drop down listbox works here
http://www.plus2net.com/php_tutorial/pb-drop.php
wlh1950
01-05-2013
Thank you, I'm gonna try it.
Please Login to post your reply or start a new topic