1064 - 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 `au_products_viewed` = 2 AND `start_date` <= '2012-02-05' ORDER BY `au_produ' at line 1
SELECT `au_products_id` , `au_products_name` , `products_quantity` , `au_products_description` , `au_products_image` , `sponsor_profile` , `start_date` , `end_date` , `shipping` , `shipping_cost` , `payment` , `payment_cost` , `get_price` , `low_price` , `au_type` , `language_id` FROM `z_auc_products` WHERE 1 AND `au_products_id` = AND `au_products_viewed` = 2 AND `start_date` <= '2012-02-05' ORDER BY `au_products_id` DESC LIMIT 0, 1