You are here: Re: post of fetched value fails « PHP Programming Language « IT news, forums, messages
Re: post of fetched value fails

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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация