Hi,
I have this problem, help me solve it: I have a variavle called $quart_code as well as $quart_nom. These two variables are called from a database.
Now I use a form to display the values for those two variables for a specific entity in the database. I do this as follows:
<?php
............
echo "<option value=\"".$quart_code."\">".$quart_nom."</option>";
............
?>
I am using this same form to update the values of those two variables in the database table. The problem is that the quart_code field in the database gets updated with the value of the quart_nom field in the option tag. This is what I don't get especially since I set the value of the option tag to $quart_code. Kindly help me out.
Thanks