Re: [PHP] Passing a query result

2001-01-09 Thread Todd Cary
unclear & not working... > > Regards, > > Toby Butzon > [ criticism spurs improvement ] > > - Original Message - > From: "Todd Cary" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Tuesday, January 09, 2001 11:04 PM > Subject: Re: [PH

Re: [PHP] Passing a query result

2001-01-09 Thread Toby Butzon
rs improvement ] - Original Message - From: "Todd Cary" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, January 09, 2001 11:04 PM Subject: Re: [PHP] Passing a query result : Whoops! I forgot the code!! : -- PHP General Mailing List (http://www.php.net/) To unsubs

Re: [PHP] Passing a query result

2001-01-09 Thread Todd Cary
Whoops! I forgot the code!! function db_get_n_row($dbh, $row, $currentRow, $nextRow) { while (($row) && ($currentRod != $nextRow)) { ibase_fetch_row($row); $currentRow++; if ($currentRow == $nextRow) { return $row; } else { return 0; }; };

Re: [PHP] Passing a query result

2001-01-09 Thread Todd Cary
gt; > Sent: Tuesday, January 09, 2001 10:47 PM > Subject: [PHP] Passing a query result > > : I need to pass a query result to a functionas demonstrated below. I get > : the error message that $row is not a result type. Is there a way around > : this? > : > :

Re: [PHP] Passing a query result

2001-01-09 Thread Toby Butzon
Working with what sort of database? Toby Butzon [ criticism spurs improvement ] - Original Message - From: "Todd Cary" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, January 09, 2001 10:47 PM Subject: [PHP] Passing a query result : I need to pa

[PHP] Passing a query result

2001-01-09 Thread Todd Cary
I need to pass a query result to a functionas demonstrated below. I get the error message that $row is not a result type. Is there a way around this? Todd -- Todd Cary Ariste Software [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECT