- Ticket Booking: Browse available movies and book tickets.
- Seat Reservation: Select and reserve seats.
- User Management: Manage customer accounts and bookings.
- Clone the repository: git clone https://github.com/mazonk/dwp.git
- Move files to your WAMP/XAMPP directory:
- For WAMP, move the project folder to C:/wamp64/www/.
- For XAMPP, move the project folder to C:/xampp/htdocs/.
- Start WAMP/XAMPP:
- Launch WAMP or XAMPP and ensure Apache and MySQL services are running.
- Create a database:
- Open phpMyAdmin (http://localhost/phpmyadmin).
- Create a new database (e.g., cinema_booking).
- Import the provided SQL file (if available) to set up tables.
- Configure the database connection:
- In the project, find the PHP file handling database connection (e.g., config.php or db.php)
- Update the database credentials to match your local setup: $host = 'localhost'; $db = 'cinema_booking'; $user = 'root'; $pass = ''; // (Leave empty if using XAMPP/WAMP default)
- Access the application:
- In your browser, go to http://localhost/your-project-folder/.
- The system should now be accessible, allowing ticket bookings and seat reservations.