Page 1 of 1

Too many information to be stored

Posted: Wed Jan 25, 2006 1:49 am
by lucfer
Hi,

I have received an assignment from my teacher. I have to create a simple hotel reservation website. The website must be dynamic enough such that it can stores any number of hotels available. To make it more complicated, the room rental rate is different from time to time, based on the holiday season. A hotel can also have many kind of rooms.

The problem now is, I dont know how to store the room rate. Should I keep it in database or in a file? How do I keep it?


Please help me. I really need this reply. Thank you very much.

Posted: Wed Jan 25, 2006 1:52 am
by stuffradio
The best solution IMO is to store it in a db.

Posted: Wed Jan 25, 2006 2:06 am
by lucfer
How should I keep the room rate in a database?

Posted: Wed Jan 25, 2006 6:45 am
by feyd
yes.

Posted: Wed Jan 25, 2006 10:24 am
by Christopher
lucfer wrote:How should I keep the room rate in a database?
In a column that is an appropriatly sized floating point number to store the rate.

Posted: Wed Jan 25, 2006 10:46 am
by raghavan20
look here