Sin embargo, me dice:
Cita:
ERROR 1064: 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 'SELECT COUNT(`id_producto`)
FROM productos
WHERE `id_area`=
|
Pero no tengo ni idea donde o porqué me dá el error
Saludos