Category: PHP

PHP isset() for Checking Variables and Array Values
See what PHP isset() returns for null, empty strings, zero, and false, and learn when to use array_key_exists(), empty(), or a default.

PHP Basics for Tags, Statements, and Comments
Learn where PHP code runs in an HTML file, when a statement needs a semicolon, and how to use comments. Run both examples locally.