Jump to content

PHP Multiple Hotel Room Booking system


clbrown68

Recommended Posts

ol, nah, i had already started doing that n then i saw that you had posted while i checked back when doing it haha.

 

erm n yeah im not very legally aware myself but i wouldnt want to give my credit card details to a company like this you should make them pay a small deposit instead that may be refunded or taken away from the full ammount when they have completed the transaction.

 

and then yuo made your post, but mine is still relevant, i would not trust a small organisation with my bank details

 

 

FaT3oYCG >>> why add the database table off that criteria then...

 

Customer(Customer ID, Gender, First Name, Family Name, Passport no / ID Card, Institution Organisation or Company, Department, Job Title, Address Type, Address, Postcode, Country, Telephone no, Mobile no, Email Address, Visa or Master Card Number, Holders Name, Expiration Date)

because i was normalising what i had, not what i thought was right, if you wanted to modify it all you would have to do is remove the last 3 feilds and add another feild named deposit paid to the booking table to store weather the booking deposit has been paid or not, and if you wanted to be really eloborate then you could make the php page calcualte the deposit as a percentage of the total cost and then store that aswell for further use when the full ammount needs to be paid etc, but yeah that is my reason XD

ok then your reason's are you reason's,

 

But i hope as a programmer you would not collect peoples credit card information as it leads to,

legal problems.

 

Also a note.

 

If you get a project, where the user presents you with a challenge, and you notice that the form thay have presented you, has got credit card information, example a form input/other, you as a decent programmer, tells the client that he/she has to use a payment gate way and explain why.

 

just being picky 

 

Oke doke here are the form names and descriptions:

 

fname - First name

sname - Surname

idnumber - ID/Passport number

company - Company Name

hotel - Hotel Choice

pax - Number of people

datearrival - Date of Arrival

datedepart - Date of Departure

 

I hope this is what you meant...

 

By the way RedArrow thanks for the help and everyone else as well!!!  :)

  • 7 months later...

Sure. You might want to check that none of the table names conflict. Often when you install a package like PHPBB, you can specify a table prefix. This will ensure all your phpBB tables begin with something unique like bb_, That way, if you already have a table called 'users' (for example) PHPBB won't install another "users" table (which could be disastrous) but would instead install bb_users. :)

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.