PHP was created to run on a web-server and provide a server-side programming platform.
It is a simple in its usage because within one file you can have HTML, CSS, Javascript, and PHP.
The PHP opening tag is <?php and the closing tag is ?>
Our first sample PHP program will look like this:
<HTML>
<?php
$today=date('m/d/Y');
echo "Today is $today<br>";
Leave a Reply