hello I have a problem with a dynamically generated form like:
[drop down menu][text][text][text] , [text][text][text]
[drop down menu][text][text][text]
and the amount of rows are defined by the amount in the database
and also by the fact that they are unique" if they arent a new
[text][text][text] is put next to the similar row
here is how it is
| A_ID | A_NAME| B | C | D |
AND WHEN IN FORM
[A_name][B][C][D] , [B][C][D]
if the A_NAME is the same the B,C,D are grouped after using the same A_NAME
the problem I am having is I want to pass it to another page to update the rows in the database but by changing the first dropdown I want to affect all the rows that are without name,
I cannot just pass the a_name in a hidden field since the first part must change all the following
all I have now is passing variables like $VAR_A_NAME-1_2
the first number is the row identifier and the second is put on all the variables including A_NAME and they are grouped like that
anyway if you have a better way of doing this without so much string manipulation please let me know
thanks alot Derek
Country: United States
then it should only display the appropriate states for that excluding states from other country.
States: Alabama, Texas etc.
in that case, you should use 3 forms for that and 3 tables
for the first table, it should contain the infor about the "country"