SELECT Monstro FROM Loc_Mons WHERE Local = $local ORDER BY rand() Limit 1
so que deu esse 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 'order by rand() Limit 1' at line 1
Pergunta
nipp
mais ou meo assim
eu fiz a consulta que seria a linha
SELECT Monstro FROM Loc_Mons WHERE Local = $local ORDER BY rand() Limit 1
so que deu esse 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 'order by rand() Limit 1' at line 1
ajuda ai plzz
Link para o comentário
Compartilhar em outros sites
2 respostass a esta questão
Posts Recomendados