ARQUIVO
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 ') OR () OR ()) AND
texto.publicar = 1' at line 9
SELECT COUNT(*) AS total
FROM texto
INNER JOIN texto_tipo_ref ON
texto_tipo_ref.id_texto = texto.id
INNER JOIN texto_tipo ON
texto_tipo.id = texto_tipo_ref.id_tipo AND
texto_tipo.ck_biblioteca = 1
WHERE
(() OR () OR ()) AND
texto.publicar = 1
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 ') OR () OR () OR ()) AND
diretorio.ativo = 1' at line 4
SELECT COUNT(*) AS total
FROM diretorio
WHERE
(() OR () OR () OR ()) AND
diretorio.ativo = 1
CARREGANDO RESULTADOS