How to pass selected options to .php file when two scrolling listsappear at different times on page
Hi all,
I have two database tables (I don't think it is a database problem,
by the way) data_series and data_sets. data_sets is a child of
data_series. I want my PHP form to display a scrolling list of all the
data series in the database. The user will then select a subset of
these, press a submit button, and be shown a scrolling list of all the
child data sets of the selected data series.
Problem is, when I code this following an example in PHP programming,
the data series are displayed properly in a <select> named
'data_series'. The scrolling list called 'data_sets' is drawn properly.
But when the program tries to retrieve the selected data_series via
$_GET[;data_series'] it gets the label 'Data Sets' of the second
scrollling list in the series. I have looked at this for an hour now,
trying various tweaks of the code, and cannot figure out what is wrong.
Here is my php code for the page:
The functions I call from the lib_mem2 file are:
Thanks!
Mary Anderson
|