redarrow Posted March 22, 2009 Share Posted March 22, 2009 clbrown68 is was not pointed out at anybody, it was said because, good programmers look at the legal aspect off a web page/project in general. Link to comment https://forums.phpfreaks.com/topic/150543-php-multiple-hotel-room-booking-system/page/2/#findComment-790822 Share on other sites More sharing options...
redarrow Posted March 22, 2009 Share Posted March 22, 2009 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) Link to comment https://forums.phpfreaks.com/topic/150543-php-multiple-hotel-room-booking-system/page/2/#findComment-790823 Share on other sites More sharing options...
FaT3oYCG Posted March 22, 2009 Share Posted March 22, 2009 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 Link to comment https://forums.phpfreaks.com/topic/150543-php-multiple-hotel-room-booking-system/page/2/#findComment-790826 Share on other sites More sharing options...
redarrow Posted March 22, 2009 Share Posted March 22, 2009 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 Link to comment https://forums.phpfreaks.com/topic/150543-php-multiple-hotel-room-booking-system/page/2/#findComment-790830 Share on other sites More sharing options...
redarrow Posted March 22, 2009 Share Posted March 22, 2009 clbrown68 can you kindly post all the form names please, As they are in the form and describe what there for. As i need to no them, for the database structure mate. going mums now. be back soon! Link to comment https://forums.phpfreaks.com/topic/150543-php-multiple-hotel-room-booking-system/page/2/#findComment-790831 Share on other sites More sharing options...
clbrown68 Posted March 22, 2009 Author Share Posted March 22, 2009 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!!! Link to comment https://forums.phpfreaks.com/topic/150543-php-multiple-hotel-room-booking-system/page/2/#findComment-790860 Share on other sites More sharing options...
martinhoods Posted October 28, 2009 Share Posted October 28, 2009 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. Link to comment https://forums.phpfreaks.com/topic/150543-php-multiple-hotel-room-booking-system/page/2/#findComment-946542 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.