PHP Code:
$the_post = $DB_site->query("SELECT * FROM ".TABLE_PREFIX."post ORDER BY dateline ASC LIMIT 49999, 1");
}
That may not work as-is. I don't have anything to look at correct syntax now. Wouldn't dateline be the best thing to go for though? As far as I know, editing the post doesn't change the dateline...
Also, that 49999 might have to be at 50000 since LIMIT could start counting at one.