This project is a ticket booking website developed using HTML, CSS, PHP, JavaScript, and MySQL. It allows users to browse available tickets and make bookings.
The ticket booking site offers a seamless experience for users to explore various ticket options, select seats based on availability, and securely book tickets for their desired events or travel plans. Built with a combination of HTML, CSS, PHP, JavaScript, and MySQL, each technology plays a crucial role in ensuring the functionality and performance of the site.
- User Interface: Simple interface built with HTML and styled using CSS.
- Backend: PHP used for server-side scripting to handle booking requests and interactions with the MySQL database.
- Functionality: Users can view available tickets, select seats, and book tickets.
- Non-responsive: The site layout is currently designed for desktop browsers and is not optimized for mobile or tablet devices.
- HTML: Structure and content of web pages.
- CSS: Styling and layout.
- PHP: Server-side scripting language for backend logic.
- JavaScript: Client-side scripting for interactive features.
- MySQL: Database management system for storing ticket and booking data.
- Clone the repository:
https://github.com/Danyal-Ahmad/ticketease-bus-reservation.git
- Install XAMPP from
https://www.apachefriends.org/
- Copy the project folder to
C:/xampp/htdocs
. - Start Apache and MySQL in XAMPP.
- Open phpMyAdmin (
localhost/phpmyadmin
), create a database namedonline_bus
, and import SQL file from project folder. - Access the project at
localhost/bus_reservation/home.html
.
Admin Login
- Username: admin_login
- Password: admin@
User Login
- Username: danyal_ahmad
- Password: #Danyal78002
-
Admin: Responsible for managing site functionality, including adding/updating/deleting bookings and tickets. Can access admin-specific features and functionalities.
-
User: Can browse available tickets, select seats, and make bookings. Users have limited access compared to admins and cannot access administrative functions.
- Responsive Design: Enhance the site to be mobile-friendly.
- Payment Integration: Integrate payment gateways for booking transactions.
- Danyal Ahmad: (Front-end Developer)
- Gulfam Shaukat: (Back-end Developer)
- Ayesha Khan: (UI Designer)