Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Error: Only variable references should be returned by reference

Status
Not open for further replies.

ghus32

IS-IT--Management
Jun 4, 2007
20
CA
Anyone have this error when upgrading php?
 
guys I have figured the error out

Thanks
 
This error occured when I upgraded from older version of php.

I read some other forums and found out I needed to change:

return new MySQLResult($this,$queryResource);
}


To:

$output = &new MySQLResult($this,$queryResource);
return $output; }



From my research this is a common error when upgrading to a newer version of PHP
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top