Re: Grid edit form

From: Date: Fri, 28 Mar 2003 16:34:19 +0000
Subject: Re: Grid edit form
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-141459@lists.php.net to get a copy of this message
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" <lists@dharik.com> To: <php-general@lists.php.net> 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 > >

« previous php.general (#141459) next »