A PHP script can be placed anywhere in the document.
A PHP script starts with <?php and ends with ?>:
<?php
?>
Learning often happens in classrooms but it doesn't have to.