php tag code example
Example 1: php short tag
<?= //do stuff here; ?>
Example 2:
<?php
echo "Hello world";
// ... more code
echo "Last statement";
// the script ends here with no PHP closing tag
<?= //do stuff here; ?>
<?php
echo "Hello world";
// ... more code
echo "Last statement";
// the script ends here with no PHP closing tag