VM - Best Sales
No valid database connection 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 'DESC LIMIT 0, 2' at line 3 SQL=SELECT * FROM `jos_virtuemart_products_pt_pt` as l JOIN `jos_virtuemart_products` AS p using (`virtuemart_product_id`) LEFT JOIN `jos_virtuemart_product_categories` ON p.`virtuemart_product_id` = `jos_virtuemart_product_categories`.`virtuemart_product_id`
LEFT JOIN `jos_virtuemart_categories_pt_pt` as c ON c.`virtuemart_category_id` = `jos_virtuemart_product_categories`.`virtuemart_category_id` LEFT JOIN `jos_virtuemart_product_manufacturers` ON p.`virtuemart_product_id` = `jos_virtuemart_product_manufacturers`.`virtuemart_product_id`
LEFT JOIN `jos_virtuemart_manufacturers_pt_pt` as m ON m.`virtuemart_manufacturer_id` = `jos_virtuemart_product_manufacturers`.`virtuemart_manufacturer_id` LEFT JOIN `jos_virtuemart_product_prices` as pp ON p.`virtuemart_product_id` = pp.`virtuemart_product_id` WHERE ( p.`published`="1" AND `jos_virtuemart_product_manufacturers`.`virtuemart_manufacturer_id` = 2 AND p.`product_special`="1" ) group by p.`virtuemart_product_id`DESC LIMIT 0, 2