
Learn PHP as a server-side language embedded in HTML for dynamic content, database operations, and access control. Gain an introduction to MySQL and SQL fundamentals.
Download and install XAMPP to run PHP and MySQL locally, then start Apache and MySQL from the control panel.
Learn to declare and print PHP variables with a leading dollar sign using echo; follow valid name rules—start with a letter or underscore—and use dot-concatenation for strings and line breaks.
Discover how variable scope works in PHP, exploring local, global, and static variables, and see how scope affects access inside and outside functions.
Explore PHP data types such as string, integer, and float, and learn how variables store different data, concatenate strings with the dot operator, and print results using echo.
Explore PHP operators including arithmetic, logic, and comparison operators, and learn how to apply them with variables using echo, line breaks, and conditional statements.
Master php control flow with if, else, and else if statements, using voting eligibility and grading examples to understand syntax, operators, and echo output.
Learn how to implement switch statements in PHP to map numbers to days of the week, using syntax with switch, cases, break, and a default clause.
Learn how to declare and call functions in PHP, pass arguments, and use return values with simple examples like printing text and adding numbers.
Explore form handling in PHP by comparing GET and POST methods, building a self-submitting form with action and method attributes, and printing submitted data using $_GET and $_POST.
Build an HTML form and validate user inputs with PHP, handling name, email, website, and gender radio options, and display errors such as invalid email, invalid username, or invalid password.
Validate and sanitize form input in a PHP and HTML form using the post method and a test_input function, with empty-field checks and error messages, then display the results.
Explore MySQL as a relational database system, learn tables with columns and rows, and practice essential SQL operations: select, insert, update, delete, create, alter, and drop via phpMyAdmin.
Configure Apache and MySQL, access phpMyAdmin via localhost/phpMyAdmin, and create a database and a hospital table with patient_id, name, and address; learn to insert and view data using SQL.
Learn how to use the select statement to fetch specific columns or all fields from the hospital table, and apply the where clause to filter records by address or id.
Explore using and, or, and not operators in sql to filter data with a where clause, demonstrating how to uniquely match records by name, id, and address.
Explore how to insert records into the hospital table using insert into and values, then sort results with order by name or patient ID in ascending or descending order.
Update and delete records in MySQL using update, set, and where clauses on the hospital table, changing fields such as name and address for the patient id 11.
Explore how to use the count, avg, and sum functions in SQL with a sales table. The video demonstrates counting records, computing averages, and summing values, including handling nulls.
Explore the like operator in a where clause to search patterns with wildcards, including starts with, ends with, and contains, using a hospital table example.
Learn how MySQL aliases create temporary names for columns with the as keyword to improve readability. Aliases exist only for a query’s duration and do not affect the table schema.
Master MySQL create, read, update, delete concepts by creating and dropping databases and tables, and altering tables with add, drop, or change operations, including varchar and int columns and constraints.
Explore SQL constraints and how they enforce data rules for each column, including not null, unique, primary key, foreign key, default, and autoincrement, and learn table creation and alteration syntax.
Learn how the not null constraint in MySQL enforces mandatory fields by creating a person table with id, first name, and last name.
Explore the unique constraint in SQL and learn how it enforces distinct values in a column, with examples using ID, email, and NRC data and table creation.
Define a primary key in a table to uniquely identify a row, enforcing unique and not null values on a column like id or employee number, and consider foreign keys.
Demonstrate connecting a PHP front end to a MySQL database to enable four CRUD operations, using a connection.php script and phpMyAdmin on localhost.
Create and read data in php and mysql by building a crud flow: add records, validate input, insert into users, and display all entries.
Update operation 1 demonstrates editing existing database records via a PHP edit form, retrieving the target record by id with the get method, and preparing data for the subsequent update.
Learn to perform the update operation in PHP by submitting the edit form, building an update query for the users table, and verifying the updated record.
Execute a server-side delete operation in PHP and MySQL by reading an id from the get parameter, deleting from the users table, and returning to index.php.
Welcome to Backend Development with PHP and MySQL course! If you aspire to become a skilled backend developer or wish to enhance your web development skills, this comprehensive course is the perfect choice for you.
In this hands-on and practical course, you will learn how to build dynamic, interactive, and robust web applications using PHP and MySQL, two of the most popular technologies in the web development industry. Throughout this course, we will cover essential concepts, best practices, and real-world scenarios to empower you to create powerful and secure backend systems.
What you'll learn:
Fundamentals of PHP: We'll start from scratch, covering the basics of PHP, including variables, data types, functions, control structures, and object-oriented programming. By the end of this section, you'll be comfortable writing PHP code.
Working with Databases: You'll learn how to interact with MySQL, one of the most widely used relational database management systems. We'll cover database design, SQL queries, and how to connect PHP with MySQL to perform CRUD (Create, Read, Update, Delete) operations.
Handling Forms and User Input: Building dynamic web applications requires handling user input securely.
Deployment and Project Management: Learn how to deploy your PHP and MySQL applications to a web server, ensuring your projects are accessible to users worldwide.