Menu
[CODE]$result = $db->query(“SELECT * FROM uploads ORDER BY ID DESC WHERE ‘$crit’ = ‘$search'”);
Fatal error: Call to a member function fetch_assoc() on a non-object in /home/roadwolf/public_html/railsexy/gallery/pages/search.php on line 5
Line 5 being the fetch_assoc. It is also worth noting that crit is the category, and search is the string being searched in that category.