Posted by rukkie on 10/06/06 11:07
Thanks for all the replies .....
The problem is solved, it was indeed a "quotes" problem
The code that works is :
<select size="1" name="customer">
<option selected="selected">(not queried)</option>
<?php while($nt=mysql_fetch_array($result2)){
echo "<option
value=\"$nt[customer]\">$nt[customer]</option>\n";} ?>
</select>
Note the \" in the option value statement ....
Navigation:
[Reply to this message]
|