Jump to content
MakeWebGames

Recommended Posts

Posted

Fatal error: Call to a member function query() on a non-object in /home/mobst611/public_html/drugfarm.php on line 20

can anyone see whats wrong with this?

line 20

$q=$db->query("SELECT * FROM drugs WHERE drug_available=1 ORDER BY drug_name ASC",$connection);

 

Thanks

Join the conversation

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

Guest
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...