I am just learning some php to make a web application. I have hit upon
what is (to me) an insuperable problem. I need to create a form page
that presents a variable number of inputs. The php needs to iterate
through this variable number of form inputs to store the data into a
database.
For example, a list of students is presented (size of class varies)
along with entry fields for grades. Hit a button at the bottom of the
page and all entered grades are stored.
The problem I have is how to iterate the name of the variable from the
<input name=<varname>> tag.
Does this make sense? I have been unable to find example code that does
what I want. Maybe someone could at least point me in the right
direction?
___________________
Nolug mailing list
nolug@nolug.org
Received on 08/26/03
This archive was generated by hypermail 2.2.0 : 12/19/08 EST