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/whiskynohi/whisky-no-hi.com/public_html/php/function/database.php:25
Stack trace:
#0 /home/whiskynohi/whisky-no-hi.com/public_html/php/function/database.php(25): PDO->prepare('SELECT * FROM `...')
#1 /home/whiskynohi/whisky-no-hi.com/public_html/php/function/database.php(293): pdoFetchAssoc('SELECT * FROM `...')
#2 /home/whiskynohi/whisky-no-hi.com/public_html/php/page/page_review.php(14): brandFromId(NULL)
#3 {main}
thrown in /home/whiskynohi/whisky-no-hi.com/public_html/php/function/database.php on line 25