سلام ،
Fatal error: Uncaught PDOException: SQLSTATE[42000]: Syntax error or access violation: 1064 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/motors/public_html/p.kavehnz.ir/include/database.php:26 Stack trace: #0 /home/motors/public_html/p.kavehnz.ir/include/database.php(26): PDOStatement->execute() #1 /home/motors/public_html/p.kavehnz.ir/include/functions.php(160): get_var_query() #2 /home/motors/public_html/p.kavehnz.ir/partial/topbar.php(10): get_fullname_by_u_id() #3 /home/motors/public_html/p.kavehnz.ir/header.php(16): include('/home/motors/pu...') #4 /home/motors/public_html/p.kavehnz.ir/view/centers/centers.php(3): include('/home/motors/pu...') #5 {main} thrown in /home/motors/public_html/p.kavehnz.ir/include/database.php on line 26
Fatal error: Uncaught PDOException: SQLSTATE[42000]: Syntax error or access violation: 1064 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/motors/public_html/p.kavehnz.ir/include/database.php:26 Stack trace: #0 /home/motors/public_html/p.kavehnz.ir/include/database.php(26): PDOStatement->execute() #1 /home/motors/public_html/p.kavehnz.ir/include/functions.php(160): get_var_query() #2 /home/motors/public_html/p.kavehnz.ir/partial/topbar.php(10): get_fullname_by_u_id() #3 /home/motors/public_html/p.kavehnz.ir/header.php(16): include('/home/motors/pu...') #4 /home/motors/public_html/p.kavehnz.ir/view/centers/centers.php(3): include('/home/motors/pu...') #5 {main} thrown in /home/motors/public_html/p.kavehnz.ir/include/database.php on line 26