Erro no banco de dados 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 e.status = 1 AND n.status = 1 AND s.status = 1' at line 4SELECT e.*, e.titulo as editoria, s.titulo as subeditoria FROM tbeditoria e INNER JOIN tbsubeditoria s ON s.editoria_id = e.id INNER JOIN tbnoticia n ON n.subeditoria_id = s.id WHERE n.id = AND e.status = 1 AND n.status = 1 AND s.status = 1
Erro no banco de dados 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 e.status = 1 AND s.status = 1' at line 4SELECT n.*, s.titulo as subeditoria, e.titulo as editoria, e.id as editoria_id, e.cor_principal, e.cor_fundo, s.icone, ed.numero, CONCAT('subeditoria/', s.alias) as subeditoriaalias FROM tbnoticia n INNER JOIN tbsubeditoria s ON n.subeditoria_id = s.id INNER JOIN tbeditoria e ON s.editoria_id = e.id left join tbedicao ed on ed.id = n.edicao_id WHERE n.id = AND e.status = 1 AND s.status = 1
Revista O Lutador - Revista Católica em defesa da Vida da família e da Fé.
Erro no banco de dados 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 '' at line 1SELECT * FROM tbnoticia_foto where noticia_id =
Erro no banco de dados 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 '' at line 1SELECT * FROM tbnoticia_foto where noticia_id =
// Edição
Compartilhe este artigo:
Nome:
E-mail:
E-mail do amigo:
DEIXE UM COMENTÁRIO
Erro no banco de dados 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 'ORDER BY s.titulo ASC' at line 1SELECT DISTINCT s.titulo, s.alias FROM tbsubeditoria s INNER JOIN tbeditoria e ON e.id = s.editoria_id WHERE e.id = ORDER BY s.titulo ASC
TAGS
ÚLTIMAS NOTÍCIAS