Re: [PHP] Grid edit form

2003-03-28 Thread Jim Lucas
you don't understand how this works then... Jim - Original Message - From: "Ford, Mike [LSS]" <[EMAIL PROTECTED]> To: "'Daniel Harik'" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Friday, March 28, 2003 9:44 AM Subject: RE: [PHP] Gri

Re: [PHP] Grid edit form

2003-03-28 Thread Jim Lucas
- From: "Daniel Harik" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, March 28, 2003 10:54 AM Subject: Re: [PHP] Grid edit form > Jim Lucas wrote: > > > This is untested, but I seem to recall doing something li

RE: [PHP] Grid edit form

2003-03-28 Thread Ford, Mike [LSS]
> -Original Message- > From: Daniel Harik [mailto:[EMAIL PROTECTED] > Sent: 28 March 2003 18:55 > > Jim Lucas wrote: > > > This is untested, but I seem to recall doing something like > this on a > > project last year. > > > > > > > > > > > > > > > > > > > > > > > > > > > >

Re: [PHP] Grid edit form

2003-03-28 Thread Andrew Powell
Then append the id to the input name. e.g. For the input form: while (odbc_fetch_row($rs)) { echo ""; } And to read the data: while (odbc_fetch_row($rs)) { $sql = "update MyTable set MyFieldValue='".$_REQUEST['myfield_'.odbc_result($rs, "ID")]."' where (ID=".odbc_result($rs, "ID").")"; odb

RE: [PHP] Grid edit form

2003-03-28 Thread Don Read
On 28-Mar-2003 Daniel Harik wrote: > 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 f

Re: [PHP] Grid edit form

2003-03-28 Thread Jim Lucas
ROTECTED]> 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 p

Re: [PHP] Grid edit form

2003-03-28 Thread Andrew Powell
For the form: for ($i=0;$i<=59;$i++) { echo ""; } For the post back: for ($i=0;$i<=59;$i++) { $somedata[$i] = $_REQUEST['myfield_'.$i]; } aap Daniel Harik wrote: 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 wou