mysqli_sql_exception: 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 ') OR (productos_categoria_padre_id = ) ORDER BY rand() LIMIT 0,10' at line 1 in /home/tecnobai/public_html/inc_genvars.php:1396
Stack trace:
#0 /home/tecnobai/public_html/inc_genvars.php(1396): mysqli->prepare('SELECT * FROM p...')
#1 /home/tecnobai/public_html/productos_detalle.php(209): productos_tira('relacionados', NULL)
#2 {main}