Jump to content



Recommended Posts

I get this error which is:Fatal error: Call to a member function query() on a non-object in /home/webcn/public_html/pets.php on line 67

Line 67 is:$inv=$db->query("SELECT iv.*,i.* FROM inventory iv LEFT JOIN items i ON iv.inv_itemid=i.itmid WHERE iv.inv_userid={$userid} AND iv.inv_id={$id}",$c) or die(mysql_error());

Anyone have any ideas about a fix?

If you need details on anything which may help the fix juts post here or PM me.




Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...