
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.
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.
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 PHP arrays, including indexed, associative, and multidimensional arrays, and learn to declare, access, count, and loop through elements using for and foreach.
Explore file I/O operations in PHP, including reading, creating, and appending text files, and viewing directory contents with scandir.
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.
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.
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.