02-16-2010, 05:26 PM
|
#2 (permalink)
|
|
The Acquainted
Join Date: Feb 2008
Posts: 107
Thanks: 3
|
I've solved that. Here is the solution:
PHP Code:
$ID = mysql_result(mysql_query("SELECT id FROM `Table` ORDER BY id DESC limit 250,1"),0); mysql_query("DELETE FROM `Table` WHERE id < '".$ID."'");
|
|
|