Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
Build a Complete Booking System with PHP & MySQL
Rating: 3.7 out of 5(2 ratings)
33 students

Build a Complete Booking System with PHP & MySQL

HTML , CSS , PHP , MYSQL , Bootstrap
Created byMuayad AlFarhan
Last updated 6/2026
English
English [Auto],

What you'll learn

  • 1-You will learn the correct way to structure a web page.
  • 2-You will learn how to add images and tables to your website.
  • 3-You will learn how to style your page using CSS.
  • 4-You will learn how to work with databases and create tables using MySQL.
  • 5-You will learn how to connect your website to a database.
  • 6-You will learn how to create a registration and a login page and verify login information and display alert messages.
  • 7-You will learn how to create a new appointment booking page and a “My Bookings” page.
  • 8-You will learn how to create an admin page that displays all bookings, allowing them to be approved or rejected.

Course content

1 section14 lectures1h 34m total length
  • Introduction3:09

    For XAMPP make sure to download based on your operation system(windows,linux,MAC)

  • Booking System Analysis & Planning2:06

    Plan a two-user appointment system by establishing login and register flows, a customer booking page with new and past bookings, and an admin view to approve or reject all bookings.

  • Creating the First Page6:00

    You will learn the correct way to structure a web page and create your first page

  • Creating the Register Page9:06

    Creating the Register Page and do some styling using CSS

  • Creating the Login Page0:40

    Learn to create a login page by adapting the existing register page code into login.php, using email and password fields, and saving the file with the login action.

  • Adding Styles with Bootstrap11:10

    You can copy Bootstrap library link and paste it in the page:

    <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.8/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-sRIl4kxILFvY47J16cr9ZwB07vP4J8+LH7qKQnuqkuIAvNWLzeN8tE5YBujZqJLB" crossorigin="anonymous">

  • Creating the Database with MySQL11:55
  • Register user into Database6:04

    Register a user into the database by inserting ifname, email, and password into the users table using mysqli, with uid auto-increment and error handling.

  • Verifying User Login Information9:12

    Verify user login information within a php and mysql based booking system by handling the login form. Start a session and use the user id for booking.

  • Creating the User Booking Page4:41

    Create a new php booking page with date and time fields, store the user id from session, and insert bookings into the database.

  • Creating the Admin Apporval Page15:05
  • Creating the My Booking Page8:51

    Create a mybooking page by joining booking with users on uid to display fname and booking id, and enforce session-based access so admins see all bookings while users see theirs.

  • Displaying User Booking Status0:45

    Display user booking status by showing approved or rejected entries after the user logs in, using the existing approval and rejection flow to reflect current status in the booking table.

  • Creating the Logoff and Header Page5:22

    Create a logoff page and a reusable header by including header.php, manage sessions to log out users, redirect to the index, and apply the header across booking pages.

Requirements

  • You must have notepad++ or similar and XAMPP local server

Description

Do you want to learn how to build a simple appointment booking website from scratch? In this course, you will learn step by step how to design and develop a complete appointment booking system using web technologies.

We will start with the basics, such as understanding the structure of web pages using HTML, styling them with CSS, and then adding interactivity using JavaScript. After that, you will learn how to connect your website to a simple database to manage appointments, allowing users to book their time easily, and then how to approve it or reject it using admin user.



What will you learn in this course?


-You will learn the correct way to structure a web page.

-You will learn how to add images and tables to your website.

-You will learn how to style your page using CSS.

-You will learn how to work with databases and create tables using MySQL.

-You will learn how to connect your website to a database.

-You will learn how to create a registration and a login page and verify login information and display alert messages.

-You will learn how to create a new appointment booking page and a “My Bookings” page.

-You will learn how to create an admin page that displays all bookings, allowing them to be approved or rejected.


Which tools you need in this course:


Before starting this course, you need to install the following programs:


-Download a code editor such as Notepad++.

-Download a local server environment XAMPP to work with databases and PHP.

Who this course is for:

  • Beginner who wants to learn the basics and build a website