Obi1-Cannabis Posted January 17, 2007 Share Posted January 17, 2007 i have the ADOdb connection in the constructor of a class in a variable $conn but when i try to use it in another function forexample $var=$conn->GetAll("Select * from table where id='$id'") it gives me this error in the output:Fatal error: Call to a member function on a non-object in C:\Trabalhos\Apache\estagio\teste\classes\class.php on line 24can anyone explain? Link to comment Share on other sites More sharing options...
Obi1-Cannabis Posted January 17, 2007 Author Share Posted January 17, 2007 Nevermind, solved it. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now