Getting Value
Posted: Tue Feb 10, 2004 11:11 am
Help Pls...
i have this page let say its file name is orderlist.php, and i have drop down for each products in the order list.
php:
--------------------------------------------------------------------------------
<select size="1" name="reqmonth'.$row['o_mod_id']. '">
?>
--------------------------------------------------------------------------------
i believe that my concatenation of the name of the dropdown is ok.
but by clicking submit button, on the next page (submit.php)
how will i be able to get the value of the drop down from the previous page (orderlist.php)?
i tried this code
php:
--------------------------------------------------------------------------------
$reqMonth = $_POST["reqmonth$o_mod_id"];
?>
--------------------------------------------------------------------------------
but didnt work..
please help me.. thanks.
i have this page let say its file name is orderlist.php, and i have drop down for each products in the order list.
php:
--------------------------------------------------------------------------------
<select size="1" name="reqmonth'.$row['o_mod_id']. '">
?>
--------------------------------------------------------------------------------
i believe that my concatenation of the name of the dropdown is ok.
but by clicking submit button, on the next page (submit.php)
how will i be able to get the value of the drop down from the previous page (orderlist.php)?
i tried this code
php:
--------------------------------------------------------------------------------
$reqMonth = $_POST["reqmonth$o_mod_id"];
?>
--------------------------------------------------------------------------------
but didnt work..
please help me.. thanks.