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 ' LPAD(002,3,'0'), 2025, '', 'PDAINVEN', '', NOW(), '', '', '')' at line 2 in C:\web\www\duran\set_log.php:22 Stack trace: #0 C:\web\www\duran\set_log.php(22): mysqli_query(Object(mysqli), 'INSERT INTO LOG...') #1 {main} thrown in C:\web\www\duran\set_log.php on line 22