This is untested, but I seem to recall doing something like this on a
project last year.

<form method='post' action='/process.php'>
<!-- row #1 -->
<input type=text name='row[0][id]'>
<input type=text name='row[0][name]'>
<input type=text name='row[0][company]'>
<input type=text name='row[0][title]'>
<br>
<!-- row #2 -->
<input type=text name='row[1][id]'>
<input type=text name='row[1][name]'>
<input type=text name='row[1][company]'>
<input type=text name='row[1][title]'>
<br>
<!-- row #3 -->
<input type=text name='row[2][id]'>
<input type=text name='row[2][name]'>
<input type=text name='row[2][company]'>
<input type=text name='row[2][title]'>
<br>
<input type=submit>
</form>

and on the process page you will receive an array called row that has
everything in it that you need.

Jim

----- Original Message -----
From: "Daniel Harik" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, March 28, 2003 10:20 AM
Subject: [PHP] Grid edit form


> Hello guys,
>
> I'm trying to make grid form that will allow to edit 60 rows at the same
> time, it's not hard to make a loop that would go from 0 to 59, but
> my problem is that i don't know what rows to update as i see no way to
find
> row's id after form is submitted.
>
> Thank You Very much.
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to