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 'as name, contact_person, phone, email FROM agencies WHERE id = ? AND status = 1 ' at line 1 in /www/wwwroot/dijie114.com/includes/Database.php:36
Stack trace:
#0 /www/wwwroot/dijie114.com/includes/Database.php(36): PDO->prepare()
#1 /www/wwwroot/dijie114.com/consult.php(20): Database::fetchOne()
#2 {main}
thrown in /www/wwwroot/dijie114.com/includes/Database.php on line 36