Introduction to PHP
Discover PHP, the server-side language that powers 77% of the web
Variables and arrays
$variable, types, strings, indexed and associative arrays
Functions and loops
Functions, parameters, return, for/foreach loops and built-in functions
Forms and GET/POST
Retrieve user data with $_GET/$_POST and validate it
Sessions and cookies
Manage memory between pages with sessions and cookies
SQL databases
Connect PHP to a database with PDO, CRUD and prepared statements
Understanding the HTTP request
How the web really works: request/response, methods and CRUD, status codes, headers, and the Network tab
What you will learn
Understand client-server architecture and PHP's role
Process forms and validate user data
Manage sessions and cookies to authenticate users
Connect PHP to a SQL database with PDO