Salve, ho questa query
$query = "select top 3 * from popsongs where id<>'$songid' AND ...
mi restituisce
Errore nella query: 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 '3 * from TABLE where id<>'2563' AND voted>'0' AND datadd<'2...
se tolgo top 3 e metto select * o dei campi funziona, non prende il TOP.
come mai ?