Reply to Re: How do you insert a value from drop down list to SQL table?

Your name:

Reply:


Posted by Geoff Berrow on 01/27/06 01:19

Message-ID: <1138304115.016073.301240@g47g2000cwa.googlegroups.com> from
Blockhead contained the following:

>
>A common mistake however is that when creating a menu, most people
>forget to actually assign a value to each option, so even though
>various menu choices appear to the user, when they click submit, a NULL
>or empty value is submitted with the form.
>
>This will look right on the screen but not not work properly:
><select name="menu1">
><option>item 1</option>
><option>item 2</option>
><option>item 3</option>
></select>
>
>this is how it needs to be:
><select name="menu1">
><option value ="item 1">item 1</option>
><option value ="item 2">item 2</option>
><option value ="item 3">item 3</option>
></select>

Interesting. But wrong.



--
Geoff Berrow 0110001001101100010000000110
001101101011011001000110111101100111001011
100110001101101111001011100111010101101011

[Back to original 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

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