select p.* from productos p inner join productosVtallas t on p.id=t.idProducto where p.idCategoria IN () and p.visible='1' and t.idTalla='2' order by orden ASC
MySQL Error: 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.visible='1' and t.idTalla='2' order by orden ASC' at line 1
Array ( [0] => Array ( [file] => /home/xxpawewf/public_html/culdesaconline.es/visita/productos.php [line] => 189 [function] => db_query [args] => Array ( [0] => select p.* from productos p inner join productosVtallas t on p.id=t.idProducto where p.idCategoria IN () and p.visible='1' and t.idTalla='2' order by orden ASC ) ) [1] => Array ( [file] => /home/xxpawewf/public_html/culdesaconline.es/index.php [line] => 906 [function] => productos [args] => Array ( ) ) )
This script cannot continue, terminating.