(03-01-2010, 03:50)rodi napisał(a): Co ty do cholery robisz?
LIMIT jest na końcu po ORDER :|
Wstaw to... I pokaż... Sprawdź czy masz wprowadzone jakieś dane do tabeli news.Kod:$mysql = mysql_query("select * from 'news' order by `id` desc limit $x, $news_strona") or die (mysql_error());
po wpisaniu tego wyskakuje mi to
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 ''news' order by `id` desc limit 0, 5' at line 1
ej a może macie jakiś dobry skrypt newsów to bym się już w to nie bawil