You are here: Modifying data in forms with values « PHP « IT news, forums, messages
Modifying data in forms with values

Posted by Robert Sossomon on 09/13/05 19:18

I have to create registration forms all the time for people in the office and
what I keep running into is that I need a way for when they edit a field that
the drop-down list of choices is automatically set for the right now.

I have 100+ counties in one list, but I don't want to write 100+ if statements
for checking to see if the value of $county equals the value of the field I am
drop down choice.

Anyone have some quick solutions?

I have radio buttons as well, but going to use a drop-down list for the editing
pages to make it all simple.

Thanks!
Robert



--
Robert Sossomon, Business and Technology Application Technician
4-H Youth Development Department
512 BrickHaven Drive Suite 220L, Campus Box 7606
N.C. State University
Raleigh NC 27695-7606
Phone: 919/515-8474
Fax: 919/515-7812
robert_sossomon@ncsu.edu

 

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

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