Learn php
Short lessons written around the screening tests employers use. Read one, then take the test.
Forms, $_POST and validationHow a PHP page receives form data, checks it and shows errors without losing what the user typed.Lesson 1
Arrays and functions in PHPAssociative arrays, foreach, and the array functions that replace most loops.Lesson 2
PDO: prepared statements, fetching and transactionsConnect with PDO, bind values so user input can never become SQL, fetch rows the right way, and group writes in a transaction.Lesson 3
Output escaping, loose comparison and string functionsEscape at output with htmlspecialchars, know where == misleads and when === is required, and use the string functions tests ask about.Lesson 4
Advertisement