php tags code example
Example 1: php tags
// The opening tag
<?php
echo "Here is the PHP code."; // Everything in between the tags is executed as PHP code.
// The closing tag
?>
Example 2: php short tag
<?= //do stuff here; ?>
Example 3:
<?php
echo "Hello world";
// ... more code
echo "Last statement";
// the script ends here with no PHP closing tag