UltraWebsiteHosting.comUltraWebsiteHosting.com
 
  25 Jul 2008 
Support Center Home

 Tiki Wiki: Notice: Only variable references should be returned by reference
Solution You can find the latest version of ADODB here.

To modify the function to not return a reference use the following code in your adodb.inc.php file:

/**
* Fetch a row, returning false if no more rows.
* This is PEAR DB compat mode.
*
* @return false or array containing the current record
*/
- function &FetchRow()
+ function FetchRow()
{
if ($this->EOF) {
$false = false;
return $false;
}
$arr = $this->fields;
$this->_currentRow++;
if (!$this->_fetch()) $this->EOF = true;
return $arr;
}


Article Details
Article ID: 203
Created On: 15 Aug 2005 08:15 PM

 This answer was helpful  This answer was not helpful


 Back
 Client Login  
Billing Email:
Password:
Remember Me:
 
 Search
 Article Options
Home | Submit a Ticket | Knowledgebase | News | Downloads
Language:




 


All pages Copyright © 2002-2008 by Flux Services, Inc. All rights reserved.
All trademarks used are properties of their respective owners.
Refund Policy  Privacy Statement  Service Agreement