You are here: Using a <SELECT> field on a Form « PHP Programming Language « IT news, forums, messages
Using a <SELECT> field on a Form

Posted by Alan M Dunsmuir on 01/02/08 05:29

I have a Form with a <SELECT> tab, its <OPTION> tabs generated by
records in a database table using PHP5 and a 'SELECT' query.

The values displayed are chosen to be recognisable to the users (they
are in fact a list of names), but the data I need to process in the
post-back come from other related fields in the same database record.

I'm clearly missing something very basic here.

How do I access these fields after the selection has been made and the
'Submit' button pressed?

Do I have to run another query, or is it possible to identify somehow
these related fields before post-back and pass them as $_POST variables?

 

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

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