PHP Introduction

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>";

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *


The reCAPTCHA verification period has expired. Please reload the page.