View Single Post
  #1  
Old 05 Feb 2010, 19:22
abdicar abdicar is offline
 
Join Date: Oct 2006
Call to a member function query_read() on a non-object in

Hi there to everybody

I'm testing in the widgets to insert our custom php code in vb4.

I have this:

$results = $db->query_read("SELECT *
FROM user LIMIT 0 , 1);

And I got something like this:

Fatal error: Call to a member function query_read() on a non-object in /home/admin/domains/.../packages/vbcms/widget/execphp.php(171) : eval()'d code on line 2

Do you have any suggestion to connect from a widget with direct php exc to check the database?

thank you!
Reply With Quote