Fatal error: Uncaught exception 'PDOException' with message 'SQLSTATE[42000]: Syntax error or access violation: 102 [Microsoft][ODBC SQL Server Driver][SQL Server]Incorrect syntax near '='. (SQLExecute[102] at ext\pdo_odbc\odbc_stmt.c:254)' in D:\php_framework\common\lib\database.lib.php:123 Stack trace: #0 D:\php_framework\common\lib\database.lib.php(123): PDO->query('select * from P...') #1 D:\websites\davisfurniture.com\apps\photo_library.php(3): fetch_row('select * from P...', 2) #2 D:\websites\davisfurniture.com\www\index.php(114): include('D:\websites\dav...') #3 {main} thrown in D:\php_framework\common\lib\database.lib.php on line 123