Why is this not working? I'm trying to write in a file the opposite way that it usually does. So when I include() the file, it will be in descending order.
$post_news = fopen($data_file, "r");
while(!feof($post_news)) {
$post_news = fopen($data_file, "a");
fputs($post_news, $template);
fclose($post_news);
}
Thanks,
- Shawn