DB::query(select nom,email,date_format(instant,'%e/%c/%Y %k:%i') instant,message from livre_or order by id desc LIMIT -40,10) mysql_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 '-40,10' at line 1 Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/mihalis/www/NIN/db.php on line 139