Código:
$inc_result_forum = mysql_query("select LIMIT ".NEWS_FORUM_QUANTIDADE." title,start_date,tid,starter_name from ".NEWS_FORUM_PREFIX." topics order by tid asc") or die(mysql_error());
Essa bo$t4
Só me retorna:
Código:
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 'LIMIT 5 title,start_date,tid,starter_name from ibf_ topics order by tid asc' at line 1
Já aprendi que MySQL não se usa TOP e sim LIMIT, mssql usa TOP,
Fui vendo pela lógica como que eu fazia pra mostrar as notícias do fórum usando mysql e eu já tinha feito isso antes e deu certo ai troquei meu servidor mysql e deu esse erro ai :/
Ta falando que a versão não suporta!!!
Marcadores