| |
SELECT product.*, friendly_url FROM product
left join friendly_url using (product_id)
WHERE
product.category_id = AND
product_active = 1
ORDER BY product_order 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
product_active = 1
ORDER BY product_order' at line 4
|