You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'AND status=1
    ORDER BY rank' at line 4

SELECT id
 FROM (`items`)
 
  WHERE items.designer= AND status=1
    ORDER BY rank
 


Fatal error: Call to a member function fetch_array() on a non-object in /home/goldphil/public_html/_private/classes/_system/BOSS_Object.class.php on line 221