exception 'mysqli_sql_exception' with message '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 '' at line 1' in /home/dscartel/public_html/inc_genvars.php:1112 Stack trace: #0 /home/dscartel/public_html/inc_genvars.php(1112): mysqli_query(Object(mysqli), 'SELECT * FROM p...') #1 /home/dscartel/public_html/producto_detalle.php(122): medidas_datos(NULL) #2 {main}