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 n.status = 1 AND s.status = 1' at line 1SELECT s.*, s.titulo as categoria FROM tbalbum_categoria s INNER JOIN tbalbum n ON n.categoria_id = s.id WHERE n.id = 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 n.status = 1 AND s.status = 1' at line 2SELECT n.*, s.titulo as categoria, s.id as idcategoria, s.alias as aliascategoria FROM tbalbum n INNER JOIN tbalbum_categoria s ON n.categoria_id = s.id
WHERE n.id = 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 n.status = 1 AND s.status = 1' at line 2SELECT n.*, s.titulo as categoria, s.id as idcategoria, s.alias as aliascategoria FROM tbalbum n INNER JOIN tbalbum_categoria s ON n.categoria_id = s.id
WHERE n.id = 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 '' at line 1SELECT * FROM tbalbum_foto where album_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 tbalbum_foto where album_id =