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