Jump to content

Retrieving some tabular data from a flat file


Recommended Posts

Hi there,

I am working on a tourism based website. They run tours with varying times based on the month of the year.

So basically I need to create a flat file with various timetables (about 7) which will hold the month and about 4 times of the day - Here is an example of one of the timetables -

November    10.00am

I want to be able to retrieve the timetable from a flat file based on the server date so if the SERVER date is November then the timetable above will be pulled and entered into a table.

I've had a look at serialisation and fopen but I can't quite get my head around it..

Thanks for any help in advance!
Link to comment
Share on other sites

It might be overkill right now, but what if later you wanted to add more data, atleast in MySQL you can easily upgrade your tables to hold more data without messing with too much. Also MySQL is a LOT easier then messing around with flat files...IMO.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.