SELECT p.name, p.id, p.ref, p.price, p.price_promo, p.promo
			FROM products_params p 
			WHERE p.product_id = 
			AND p.id = 11
			

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 p.id = 11' at line 4

file -
line -