
This course includes our updated coding exercises so you can practice your skills as you learn.
See a demo
Explore the basics of PHP, a server-side language for dynamic web pages, including form data handling, database operations, access control, and generating dynamic page content.
Master php syntax basics by embedding php in html with opening tag <?php and closing tag. Use echo to print hello world and a paragraph tag, ending with a semicolon.
Learn how PHP comparison operators compare numbers and strings, and when to use the equality, identical, and not identical operators to respect data types.
Explore how logical operators combine conditions in PHP, including and (&&), or (||), not (!), and xor, with examples showing when both, either, or exactly one condition is true.
Explore how the while loop repeats code while a condition remains true, using a counting example up to 500. Learn various increment methods and how to prevent infinite loops.
Explore how the return statement in a function sends back the computed value and stops execution, demonstrated with a two-parameter addition returning the answer.
Explore how the post method hides form data in the http body, accessed via the PHP post superglobal array, echoed for testing, and suited for passwords.
Understand the PHP session super global, storing data on the server and comparing it to cookies. Start a session, set name and cart, then unset and destroy.
Start the Apache server and MySQL, then open phpMyAdmin at localhost to create a database named php, and prepare to build your first table.
Create data entries in a users table using phpMyAdmin's insert tab, using autoincrement IDs and the insert into users syntax with username and password values.
Learn how to update a user password using the SQL update statement on the users table by setting the password and using where to target the correct username.
Learn how the SQL delete command removes data by deleting from the users table where the username equals matter, and see the single row affected after execution.
Connect to your MySQL database from PHP using the MySQLi extension, declare host, user, password, and database name, and handle success or error messages.
Learn how to read data with a SQL select in PHP, retrieve rows from the users table, and print usernames and passwords using mysqli functions like num_rows and fetch_assoc.
Demonstrate deleting a user in PHP and MySQL with delete from users table where username is Kaylee, including success checks and error handling.
Welcome to the beginner-friendly PHP and MySQL course! This course is designed for those with little or no programming experience who are looking to learn the fundamentals of PHP web development. This course is beginner-friendly and will introduce you to the world of server-side scripting and the power of PHP. PHP and MySQL are two of the most widely used technologies for building dynamic and interactive websites and web applications.
PHP is a popular, easy-to-learn server-side scripting language that allows you to create dynamic web pages and interact with databases. It is the backbone of many popular content management systems such as WordPress and Joomla. MySQL is a widely-used, open-source relational database management system that will allow you to store and retrieve data for your PHP web applications. Together, these technologies will enable you to create robust and efficient web applications.
Throughout this course, you will learn how to use PHP to create and manipulate forms, validate user input, and interact with a MySQL database to store and retrieve data.
In addition to the basics, this course also covers advanced topics such as sessions and cookies, with a special focus on data sanitization and security and also using PDO (PHP Data Objects) for database access and working with MySQL.
With PDO and MySQL, you'll be able to create dynamic and interactive websites with real-world functionality.
The course includes hands-on projects. You will be creating a working form, a todolist application and an Employee Management System.
Whether you're just starting out in web development or looking to enhance your skills, this course has everything you need to succeed. We will go straight to the point with handy examples to get you quickly up to speed. By the end of the course, you'll be able to build robust, secure, and user-friendly websites using PHP. Don't wait, enroll now and start your PHP journey today!"