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 MariaDB server version for the right syntax to use near 'AND deletado='0' ORDER BY id DESC LIMIT 1' at line 1 in D:\Inetpub\vhosts\labvitta.com.br\httpdocs\id.php:45
Stack trace:
#0 D:\Inetpub\vhosts\labvitta.com.br\httpdocs\id.php(45): PDO->query('SELECT * FROM a...')
#1 {main}
thrown in D:\Inetpub\vhosts\labvitta.com.br\httpdocs\id.php on line 45