
Learn to switch PHP versions on a Windows gem by swapping Apache and PHP folders, testing with phpinfo, and restarting the server to toggle 8.1.1 and 7.4.27.
Install and start Laragon to run Apache, MySQL, and PHP 8.1; verify with phpinfo and log into phpMyAdmin as root to manage databases.
Shift between PHP versions in Laragon on Windows by installing PHP 7.4, selecting it in Laragon, and restarting services to switch back to PHP 8.1.10 as needed.
Install Homebrew on macOS via the terminal, then install Composer with brew, and verify the installation by running Composer to show available commands.
Explore fundamental PHP string functions and how to declare and call them. Practice using strlen, str2upper, str2lower, ucwords, trim, str_replace, substr, and chunk_split, plus string concatenation for formatting.
Explore PHP string functions such as count_chars, sprintf, strRepeat, strWordCount, strRev, strpos, and strip_tags with practical examples for character counting, formatting, repetition, word counting, reversing, searching, and input sanitization.
Explore PHP operators and expressions, including arithmetic, assignment, comparison, string concatenation with the dot, and the spaceship operator, with practical examples.
Explore how to use the PHP switch statement to perform actions based on conditions, leveraging case blocks, default handling, and break to control flow.
Explore the basics of PHP loops, including while, do-while, and for loops, with practical examples, break conditions, and array iterations using foreach.
Explore nested loops, detailing outer and inner loops and for loops, with practical PHP examples that print patterns like a pyramid and build looping logic.
Explore PHP arrays, including indexed, associative, and multidimensional arrays, and learn to declare, access, count, and loop through elements using for and foreach.
Learn how to define and use associative arrays in PHP, assign explicit keys like full name, country, and age, and iterate with foreach to display key and value pairs.
Explore PHP functions, including built-in and user-defined types, with parameters and return values, default arguments, and reusable code through function calls and examples like add and a pyramid generator.
Explore PHP superglobals, built-in variables available in all scopes, including GET, POST, SERVER, FILES, ENV, COOKIE, and SESSION, and learn practical uses for login, forms, and data handling.
Explore how cookies in php store user data, remember preferences, and manage login sessions. Learn to set, expire, and delete cookies with practical examples and browser checks.
Explore how include, include_once, require, and require_once bring files into a PHP project, and learn how multiple versus single inclusions work and how errors affect execution.
Explore file I/O operations in PHP, including reading, creating, and appending text files, and viewing directory contents with scandir.
Learn to create a database and a students table using PHP PDO and SQL, including testdb001, an auto increment primary key, and not null varchar fields.
Learn to insert data into a database with PHP using the PDO method, writing insert into table with column names and values, begin transaction, and retrieving the last inserted ID.
Group rows with the GROUP BY clause and apply aggregate functions such as sum and count to produce per person totals, then use HAVING to filter groups.
Learn to prevent XSS attacks in PHP by validating and sanitizing user input, using prepared statements, and applying output encoding.
Explore pagination in an AI-powered hotel booking system built with PHP and MySQL, optimizing listing navigation, search results, and page performance.
Install the GitHub copilot chat extension in vscore editor, link your GitHub account, and use the agent chat in auto mode to manage project and change html files to PHP.
Build a php and mysql login system with config, setup, and logout, protect inner pages with session checks, and switch from mysqli to pdo for secure database access.
Update the admin profile by removing bio and phone fields, editing name and email, and handling profile photo uploads with a timestamped admin_ prefix in PHP & MySQL.
Explore the front-end template for a hotel booking site, including home, about, rooms, blog, gallery, and contact pages, with check-in/out, search, room details, reviews, and cart checkout.
Learn to implement a PHP and MySQL user registration and verification flow, including a front-end register page, a users table with verification token, and email verification to activate accounts.
In this course, I am going to teach students how to build an Online Hotel Booking Website in php and mysql. I have used here the github copilot's claude model to do this task. The course will cover all the core aspects of a hotel booking website, including authentication systems, email verification, payment gateway etc.
I will develop a real-world Online Hotel Booking Website where any person will be able to search for hotels by check in and check out date and book online using PayPal or Stripe. Use can easily do free registration and perform the booking tasks. This project will be built using the latest version of PHP at the time of recording, ensuring students learn modern and up-to-date practices.
This course is designed especially for beginners who have little or no experience with PHP, but even advanced learners will find it useful as I implemented here real life hotel features.
Admin Panel Features:
1. Admin can create, edit and delete rooms.
2. Admin can change logo, favicon, banner etc.
3. Admin can manage hero or slider section.
4. Admin can manage testimonials.
5. Admin can manage terms and privacy pages.
6. Admin can manage about page items.
7. Admin can manage photo gallery.
8. Admin can manage FAQ page items.
9. Admin can manage blog post.
10. Admin can view and delete subscribers.
11. Admin can export subscriber list as CSV.
12. Admin can change his own photo, information and password.
13. Admin can manage counter
14. Admin can manage home and about page sections.
15. Admin can manage custom pages.
16. Admin can manage menu items
User Features
1. User can create account in this system for free.
2. User can reset password if needed.
3. User can change his profile information and password.
4. User can book hotel room using PayPal or Stripe.
5. User can see booking history.
6. User can give review to a hotel what he booked.
7. User can manage the wishlist items.