You are here: best method. dates « PHP SQL « IT news, forums, messages
best method. dates

Posted by not_on on 10/31/05 00:26

I have X amount of hotel rooms stored in hotel table. mutiple hotels
each with mutiple rooms so hundreds of entries.

I need to store booking dates for every room with one year in advance.
I am trying to get my head around best method


Each room with 365 columns?

or

365 columns witha list of rooms booked that date.. hmm mebbe not

or

TEXT collumn in theroom table. this holds a list of dates stored as
such 4,67,85,199,345 each number= a day of year .. then I can split
the string (PHP) and plonk into online calander. One text field for
each room rather than 365 columns multiplied by number of rooms.

Any other ideas or best practice.. advice? :)

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация