Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /var/sites/b/ on line 14
couldnt execute queryYou 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 p.stock LIKE 'y' AND pcl.prod_id = ORDER BY p.pos ASC LIMIT 1' at line 1