Re: [PHP] php err msg/issue...

2004-10-13 Thread Curt Zirzow
* 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

RE: [PHP] php err msg/issue...

2004-10-13 Thread bruce
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

Re: [PHP] php err msg/issue...

2004-10-13 Thread Matthew Sims
> 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; >

Re: [PHP] php err msg/issue...

2004-10-13 Thread Curt Zirzow
* 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; <... > >

RE: [PHP] php err msg/issue...

2004-10-13 Thread bruce
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

Re: [PHP] php err msg/issue...

2004-10-13 Thread Jason Davidson
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