Validation ina multi record form ...
Posted: Sat Aug 17, 2002 11:22 pm
I am trying to design a form that has the following qualities
1. It can be multi-record depending upon number of rows in the db. I use
variable variables to do this.
2. It can be used to edit and update the rows.
The above is fine and works ok but I want to add
3. Server validation with PHP. If there is a problem with validation then I
want to re-present the form with the originally posted values.This is fairly
easy to do with a single record form by submitting the form to itself, BUT
doing this with a variable number of records is confusing me big time!!
Can anyone pass on their experiences with doing this sort of thing or
suggest the pseudo code.
Thanks, Mark

1. It can be multi-record depending upon number of rows in the db. I use
variable variables to do this.
2. It can be used to edit and update the rows.
The above is fine and works ok but I want to add
3. Server validation with PHP. If there is a problem with validation then I
want to re-present the form with the originally posted values.This is fairly
easy to do with a single record form by submitting the form to itself, BUT
doing this with a variable number of records is confusing me big time!!
Can anyone pass on their experiences with doing this sort of thing or
suggest the pseudo code.
Thanks, Mark