Problema com Sintaxe
O Erro é: 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 'WHERE enviado = 0 LIMIT 0,1' at line
A LINHA INFORMADA É:
$sql = mysql_query("SELECT ". $campos ." FROM ". $tabela ." WHERE enviado = 0 LIMIT ". $inicio .",". $quant)or die(mysql_error());
JÁ TENTEI UM MONTE DE COISAS MAS NAO DÁ CERTO...
Discussão (7)
Carregando comentários...