Syntax of a PHP Program

Here is the syntax of a php program

<?php
phpinfo();
?>

The opening php tag marks the start of a php program. The closing php tag marks the end of a php program. Every line of php code ends with a semicolon.

The source code for the PHP section of the website is online at http://phpsourcecode.kevinsitinfo.com