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
-
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
> -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.
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
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
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
This is untested, but I seem to recall doing something like this on a
project last year.
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: <[EMA
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
7 matches
Mail list logo