I have this mySQL script:
SELECT TOP 2 * FROM produse ORDER BY `id_produs` DESC
Generates this error:
#1064 - You have an e
there is no TOP in mysql
use LIMIT 2
SELECT * FROM produse ORDER BY id_produs DESC LIMIT 2
Use LIMIT instead:
LIMIT