danx30 Posted February 15, 2007 Share Posted February 15, 2007 I need a simple script that reads a .txt file, prints the first line, then deletes that line from the .txt file. The .txt file will have multiple lines, so when the page is opened I see the first line, then when I refresh that line is gone and it prints the next line. I have looked and looked and can't seem to come up with a way to do it. Any help would be appreciated. Thanks, Dan Link to comment https://forums.phpfreaks.com/topic/38598-simple-script-help/ Share on other sites More sharing options...
papaface Posted February 15, 2007 Share Posted February 15, 2007 We don't write scripts, we are here to help with any problems you have with scripts. Link to comment https://forums.phpfreaks.com/topic/38598-simple-script-help/#findComment-185238 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.