Let's say i have a text file containing values like this:
..could i use PHP to display a page that would display anything in the text file where the dates were, say, a month ahead of the first date listed (when i say first, i mean the first of the two..e.g. 04/05/2008 on the third line)? For example, if i were to view the PHP page now, it would output "01/10/2008 - 03/10/2008 Testypie".
I have Googled around a bit, and can find everything i could ever want to do with a text file...bar sorting it! Any help much appreciated.
* 01/01/2001 - 05/01/2001 Test Text
* 31/12/2004 - 01/01/2005 More Tests
* 04/05/2008 - 02/06/2008 Hello again
* 01/10/2008 - 03/10/2008 Testypie
..could i use PHP to display a page that would display anything in the text file where the dates were, say, a month ahead of the first date listed (when i say first, i mean the first of the two..e.g. 04/05/2008 on the third line)? For example, if i were to view the PHP page now, it would output "01/10/2008 - 03/10/2008 Testypie".
I have Googled around a bit, and can find everything i could ever want to do with a text file...bar sorting it! Any help much appreciated.