SELECT id FROM productos WHERE URL like ''.$img_grande.''
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.''' at line 1
Productos - Bartola
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.'_categoria' at line 1