Hello, I wanted to DELETE rows from my table in order by their ID. If its possible...
Here's what I tried, my error said it was around 'ORDER BY message_id ASC LIMIT 23'
My query:
mysql_query("DELETE FROM messages ORDER BY message_id ASC LIMIT '$subtraction'") or die(mysql_error() . $error);
It's supposed to delete about 20-25 rows.
Thanks







Bookmarks