how can this line of code be interpreted?
mysql_query("DELETE FROM news where(update_time<$time) LIMIT 500");
1) search within the first 500 records of the news table and delete news where(update_time<$time)
or
2) delete 500 records throughout the news table where(update_time<$time)