CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 6 of 6
  1. #1
    Join Date
    Jun 2007
    Posts
    9

    Booking system- how to???

    Hi all. I'm an italian guy, so sorry for my bad english. I have to realize a booking system for a hotel and i have a question. How can I connect a specific period of time with a room, so that it gets booked? In short how to realize the booking?

  2. #2
    Join Date
    May 2002
    Posts
    10,943

    Re: Booking system- how to???

    Hotel management software is rather complex. You will need, not only PHP, but also a database to manage the records.

    In the database you can create a column for times/dates.
    If the post was helpful...Rate it! Remember to use [code] or [php] tags.

  3. #3
    Join Date
    Jun 2007
    Posts
    9

    Re: Booking system- how to???

    yes, sure! I have already my database with my tables...i was thinking of how making a room booked...

    Thankx

  4. #4
    Join Date
    May 2002
    Posts
    10,943

    Re: Booking system- how to???

    Create two extra fields.

    Booked Begin
    Booked End

    Now, use a timestamp format with them.
    If the post was helpful...Rate it! Remember to use [code] or [php] tags.

  5. #5
    Join Date
    Jun 2007
    Posts
    9

    Re: Booking system- how to???

    Uhm..it was that easy..*blushes*...Thanks so much PeejAvery!

  6. #6
    Join Date
    May 2002
    Posts
    10,943

    Re: Booking system- how to???

    You're welcome.
    If the post was helpful...Rate it! Remember to use [code] or [php] tags.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured