mysql_query("DELETE FROM log_commerce_ml ORDER BY id LIMIT '$n_del'");
echo mysql_errno()." 539 : ".mysql_error()."<BR>";
Получаем сообщение:
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 ''2'' at line 1
Что здесь неверно?