/* PASTE YOUR PROVIDED EDUHUB CSS HERE */
PHP COURSE • LESSON 03

PHP Syntax

PHP code is written between PHP opening and closing tags.

PHP Syntax


<?php

// PHP code here

?>


PHP Statements

A PHP statement usually ends with a semicolon (;)

Example


<?php

echo "Welcome";

echo "To PHP";

?>


Important

Missing semicolons can cause PHP errors.