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 s.status = 1' at line 1SELECT n.*, s.nome as colunista FROM tbcolunista s INNER JOIN tbartigo n ON n.subeditoria_id = s.id WHERE n.id = 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 (s.status = 1 OR c.status = 1)' at line 1SELECT n.*, s.nome as colunista, s.id as idcolunista, s.nome as colunista, s.alias as aliascolunista, s.foto as fotocolunista, s.minicurriculo, c.alias as aliascategoria, c.titulo as categoria, c.id as idcategoria FROM tbartigo n LEFT JOIN tbcolunista s ON n.subeditoria_id = s.id LEFT JOIN tbartigo_categoria c ON c.id = n.categoria_id WHERE n.id = AND (s.status = 1 OR c.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 (s.status = 1 OR c.status = 1)' at line 1SELECT n.*, s.nome as colunista, s.id as idcolunista, s.nome as colunista, s.alias as aliascolunista, s.foto as fotocolunista, s.minicurriculo, c.alias as aliascategoria, c.titulo as categoria, c.id as idcategoria FROM tbartigo n LEFT JOIN tbcolunista s ON n.subeditoria_id = s.id LEFT JOIN tbartigo_categoria c ON c.id = n.categoria_id WHERE n.id = AND (s.status = 1 OR c.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 '' at line 1SELECT * FROM tbartigo_foto where artigo_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 tbartigo_foto where artigo_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 'AND tabela = 'tbartigo' ORDER BY ordem ASC' at line 1SELECT * FROM tbarquivo WHERE pagina_id = AND tabela = 'tbartigo' ORDER BY ordem ASC
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 tabela = 'tbartigo' ORDER BY ordem ASC' at line 1SELECT * FROM tbarquivo WHERE pagina_id = AND tabela = 'tbartigo' ORDER BY ordem ASC