|
Posted by Pedro Graca on 10/06/06 10:17
rukkie wrote:
> <?php while($nt=mysql_fetch_array($result2)){
> echo "<option value=$nt[customer]>$nt[customer]</option>\n";}
> ?>
[...]
> When I make a selection box, with fixed populated values (so values not
> fetched from the db) then after the submission, I get the correct info
> (values are not cutted to the first space).
>
> Is there anybody out there that can give a solution for this strange
> (to me) behaviour ? It would be uttermost appreciated !
What's the difference between the PHP generated HTML and the one with
fixed populated values?
I'm guessing PHP does
<option value=John Smith>John Smith</option>
whereas the fixed value is
<option value="John Smith">John Smith</option>
Notice the quotes on the second line?
--
File not found: (R)esume, (R)etry, (R)erun, (R)eturn, (R)eboot
Navigation:
[Reply to this message]
|