* Thus wrote bruce:
> curt...
>
> when i print $rs, i get the following:
> displaying $rs shows that $rs is:
>
> ResultSet Object (
>
> [rows] => Array ( ) <<<
> [pos] => 0 <
>...
> when i print $rs->pos, i get '0'
>
> so a
print $rs->rows[0], and got an 'Undefined offset: 0' err msg
so this would seem to support what you're saying...
so how can i correct/modify this!
-Original Message-
From: Curt Zirzow [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 13, 2004 10:07 AM
To: [EMAIL P
> hi...
>
> i'm dealing with an app that's throwing an err/warning msg.. i'm using
> php5,
> on a linux rh8.0 system.
>
> i believe the code was written for php4.
>
> the code is:
>
> if($rec)
> {
> $rs->append($setDefaults);
> $rs->rows[$rs->pos]->fields=$rec; < $rs->rows[$rs->pos]->id=-1;
>
* Thus wrote bruce:
> hi...
>
> i'm dealing with an app that's throwing an err/warning msg.. i'm using php5,
> on a linux rh8.0 system.
>
> i believe the code was written for php4.
>
> the code is:
>
> if($rec)
> {
> $rs->append($setDefaults);
> $rs->rows[$rs->pos]->fields=$rec; <...
>
>
idson [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 13, 2004 9:51 AM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: Re: [PHP] php err msg/issue...
I gather $rec is empty.. :) make sure there is something in it before
you assign it to that object member.
Jason
<[EMAIL PROTECTED]> w
I gather $rec is empty.. :) make sure there is something in it before
you assign it to that object member.
Jason
<[EMAIL PROTECTED]> wrote:
>
> hi...
>
> i'm dealing with an app that's throwing an err/warning msg.. i'm using php5,
> on a linux rh8.0 system.
>
> i believe the code was written
6 matches
Mail list logo