PHP: Calling .dat calendar data into one HTML page?

I’m using a basic blog script that posts to a .dat file.

My directory structure has one folder for each day of the month. Within each, there is the PHP page and a .dat file for the “blog” calendar entries.

I am needing to calling data from each .dat file in each folder (30 folders in each month) into one webpage.

Any suggestions?

Thanks…

lol, my friend asked me the same question!

Try to have an index page that will
[php]
include(‘day1/blog.php’);
[/php]

now we want to automate the process, right?
then:

Use incremnt (‘i++’) and WHILE operator to cycle through the number f days so you will output all your data

Sponsor our Newsletter | Privacy Policy | Terms of Service