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 /home4/decopopc/public_html/detallevarilla.php:6 Stack trace: #0 /home4/decopopc/public_html/detallevarilla.php(6): mysqli_query(Object(mysqli), 'select * from t...') #1 {main} thrown in /home4/decopopc/public_html/detallevarilla.php on line 6