Notice: Undefined index: ID_M in /home/storage/6/df/99/bibliotecacelsof1/public_html/interna_A.php on line 50
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 'AND (NOW() BETWEEN DT_Publicacao AND DT_Validade)
AND FL_Publicado =' at line 17 in /home/storage/6/df/99/bibliotecacelsof1/public_html/interna_A.php:56
Stack trace:
#0 /home/storage/6/df/99/bibliotecacelsof1/public_html/interna_A.php(56): PDO->query('SELECT\n ...')
#1 /home/storage/6/df/99/bibliotecacelsof1/public_html/interna.php(10): include('/home/storage/6...')
#2 {main}
thrown in /home/storage/6/df/99/bibliotecacelsof1/public_html/interna_A.php on line 56