Link to home
Start Free TrialLog in
Avatar of rgb192
rgb192Flag for United States of America

asked on

Fatal error: Call to a member function real_escape_string() on a non-object in

This is a general question about php mysql mysqli

Fatal error: Call to a member function real_escape_string() on a non-object in

This works on my desktop computer but not godaddy shared linux
I know, I do not like godaddy either but have to use for this project.


what should I tell them to enable in php
SOLUTION
Avatar of Dave Baldwin
Dave Baldwin
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Can you post your full code? Because, this function may be refereed in your MySQLi class and will affect..
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of rgb192

ASKER

Thanks

this explanation let me know best

This message is thrown by PHP when the OOP method-call notation is used and the 'XYZ' is not an object.