Reply to A better way to do this

Your name:

Reply:


Posted by "Ross" on 10/23/05 22:23

I want the selct table to retain it's value on submit. The way I have done
it works but is a bit rubbish and was wondering if there is a more efficient
way. I just make the variable equal to "selected" when the form is submitted

<select name="table_name" id="table_name">
<option value="1" <?=$one; ?>>Please Select</option>
<option value="news" <?=$two; ?>News</option>
<option value="events" <?=$three; ?>Events</option>
<option value="publications" <?=$four; ?>Publications</option>
</select>

Thanks,


R.

[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

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