Multiple pages from a single php file
Posted: Fri Oct 13, 2006 6:16 pm
I'm trying to develop a system for information distribution over plasma screens in a school.
The news items are stored in a flat text file (which can be updated easyly) and I have written a php script to read the file and format it.
When I have a 'page full' of information I need to be able to dwell (say 10 seconds) and then read the next bit of the file into a 'clean' page, go on doing this to eof and then loop.
I seem to have a mental block at this stage. Can I clear the page? should I jump to a new page (which will be empty) -- if so how can I transfer the file postion pointer to the next page? Am I going about this completely the wrong way!!
Any suggestions would be appreciated!
The news items are stored in a flat text file (which can be updated easyly) and I have written a php script to read the file and format it.
When I have a 'page full' of information I need to be able to dwell (say 10 seconds) and then read the next bit of the file into a 'clean' page, go on doing this to eof and then loop.
I seem to have a mental block at this stage. Can I clear the page? should I jump to a new page (which will be empty) -- if so how can I transfer the file postion pointer to the next page? Am I going about this completely the wrong way!!
Any suggestions would be appreciated!