( ! ) 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 'Brien' or cn='Olivia O'Brien') order by id desc limit 1' at line 1 in /home/poppiano.org/public_html/pdo.php on line 933 | ||||
---|---|---|---|---|
( ! ) 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 'Brien' or cn='Olivia O'Brien') order by id desc limit 1' at line 1 in /home/poppiano.org/public_html/pdo.php on line 933 | ||||
Call Stack | ||||
# | Time | Memory | Function | Location |
1 | 0.0002 | 429592 | {main}( ) | .../index.php:0 |
2 | 0.0808 | 517416 | getval( $sql = 'select pic from artist where (artist=\'Olivia O\'Brien\' or cn=\'Olivia O\'Brien\') order by id desc limit 1' ) | .../index.php:678 |
3 | 0.0824 | 517416 | query( $query = 'select pic from artist where (artist=\'Olivia O\'Brien\' or cn=\'Olivia O\'Brien\') order by id desc limit 1', $fetchMode = ??? ) | .../pdo.php:933 |