Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > PHP/MySQL > PHP How-To
Password Reminder
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
PHP How-To Post your "How do I do this with PHP?" questions here.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the PHP How-To section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old June 3rd, 2003, 05:32 PM
Registered User
Join Date: Jun 2003
Location: , , New Zealand.
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default booking form

How would I use php and a mysql database to allow my clients to enter dates when they would like to book my accomodation and receive a message on screen informing them of whether the dates are available??
Reply With Quote
  #2 (permalink)  
Old June 3rd, 2003, 05:51 PM
Registered User
Join Date: Jun 2003
Location: Omaha, Nebraska, USA.
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts

Say you have a date entered, how are you obtaining whether the date is available? With that info, we might be able to help.
Reply With Quote
  #3 (permalink)  
Old June 4th, 2003, 03:46 AM
Registered User
Join Date: Jun 2003
Location: , , Belgium.
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to c_capo

You need a reservation table where you keep all dates.
Compare the date entered in the form with the dates in this table.
IF it's already used then the client can't stay in your accomodation or he/she has to choose another date.

A nice thing to make is to show the dates that are already used.

:: soulcreation.com ::
Reply With Quote

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Java code for Booking form riaz Java GUI 10 May 17th, 2007 09:33 AM
Booking program. Tankey Access 1 May 2nd, 2006 03:56 PM
Booking form hameed123 PHP How-To 1 May 12th, 2005 11:22 AM
Forward Booking rahilahmed Excel VBA 0 May 24th, 2004 09:25 AM
JavaScriopt booking form yatesie Java Databases 2 November 26th, 2003 11:57 AM

All times are GMT -4. The time now is 01:37 PM.

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.