This is a fully functional Restaurant Reservation Website created using HTML, CSS, JavaScript, and PHP. The website has four main pages: Home, Reservation, Menu, and Speciality. Users can reserve a seat by entering their details and receive a confirmation email upon submission.
- Home Page: Welcome page with an introduction to the restaurant.
- Reservation Page: Form for users to reserve seats by providing their name, email ID, mobile number, number of seats, date, and timeslot.
- Menu Page: Display of the restaurant's menu items.
- Speciality Page: Showcasing images of the restaurant's speciality dishes.
- Clone the repository:
git clone https://github.com/yourusername/restaurant-reservation-website.git
- Navigate to the project directory:
cd restaurant-reservation-website
- Set up your server environment. Ensure PHP is installed and configured.
- Place the project directory in your server's root directory (e.g.,
htdocs
for XAMPP).
-
Database Setup:
- Create a database for the reservation system on Xampp server.
- View the stored data on the Xampp Server with Time stamp.
-
Email Configuration:
- Update the email settings in
reservation.php
with your SMTP server details to enable email confirmation functionality.
- Update the email settings in
- Home Page: Navigate to the Home page to get an overview of the restaurant.
- Reservation Page: Go to the Reservation page, fill in the reservation form, and submit your details.
- The form includes fields for:
- Name
- Email ID
- Mobile Number
- Number of Seats
- Date
- Timeslot
- Upon submission, you will receive a confirmation email.
- The form includes fields for:
- Menu Page: Browse through the restaurant's menu items.
- Speciality Page: View images of the restaurant's speciality dishes.
- Introduction to the restaurant.
- Navigation links to other pages.
- Reservation form with fields for user details.
- Form validation using JavaScript.
- PHP backend to handle form submission and send confirmation email.
- Display of the restaurant's menu items.
- HTML and CSS for layout and styling.
- Images of the restaurant's speciality dishes.
- HTML and CSS for layout and styling.
home.html
: Home pagereservation.html
: Reservation pagemenu.html
: Menu pagespeciality.html
: Speciality pagestyles.css
: Stylesheet for the websitescript.js
: JavaScript for form validation and interactivityreservation.php
: PHP script to handle form submission and send confirmation email
If you would like to contribute to this project, please fork the repository and create a pull request with your changes.
If you have any questions or suggestions, feel free to contact me at [email protected].
Note: This is a basic implementation intended for demonstration purposes. For a production-level application, additional features and security measures should be implemented.
Enjoy making reservations at our restaurant!