SELECT id FROM images_categoria WHERE URL like 'head_'.$img_grande.'.jpg'
You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '.$img_grande.'.jpg'' at line 1
SELECT * FROM images_categoria WHERE id=
You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 1
Productos - Bartola