Actually, if you make the names in the form resemble array variables,
this can be greatly simplified.
Something similar to the following might be what you are looking for:
when the form is passed to the next script, there will be a single
variable called $item - and it will be an array with t
One solution $HTTP_POST_VARS['input_field'.$inc];
- Original Message -
From: "Brian Ricks" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, July 05, 2001 3:08 PM
Subject: [PHP] Iterating varibales
> I have a site which uses two pages
I have a site which uses two pages. The first page generates an HTML
form with multiple rows which is then POSTed to the second page. Sometimes
on the first page I have to create multiple rows of INPUT fields. To allow
a dynamic number of INPUT fields (say someone wants to add seven new num
3 matches
Mail list logo