ERROR: CRITICAL_ERROR, Could not query product information, this occured in FILE: /home/matt/public_html/toyplanet.co.nz/public/www/product.php on LINE: 104
SQL: SELECT shop_product.*, shop_age.age_name, shop_battery.battery_name, IF( shop_product.product_special_start <= NOW( ) , IF( shop_product.product_special_end >=CURDATE() , product_special, 0 ) , 0 ) AS is_special,
FROM shop_product, shop_age, shop_battery
WHERE shop_product.product_age = shop_age.age_id
AND shop_product.product_battery = shop_battery.battery_id
AND shop_product.product_active = 'Y'
AND shop_product.product_code = '71004' LIMIT 0, 1You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'FROM shop_product, shop_age, shop_battery
WHERE shop_product.product_age = ' at line 2