PHP Syntax examples

The PHP code is executed between PHP tags, the most common PHP tag is <?php?>, which is used to enclose PHP code. The <?php ….?> is called Escaping to PHP.

Example of PHP Syntax:

<?php
   // code here
?>