Warning: Undefined variable $id_producto in /home2/agreconsa/public_html/producto.php on line 15

Fatal error: Uncaught 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 '' at line 1 in /home2/agreconsa/public_html/includes/customfuncs.php:1715 Stack trace: #0 /home2/agreconsa/public_html/includes/customfuncs.php(1715): mysqli->query('SELECT * FROM p...') #1 /home2/agreconsa/public_html/producto.php(15): producto_data(NULL, true) #2 /home2/agreconsa/public_html/index.php(50): include_once('/home2/agrecons...') #3 {main} thrown in /home2/agreconsa/public_html/includes/customfuncs.php on line 1715