Pages

Wednesday, August 28, 2013

First PHP Hello world Programme

Here is a first example of php. To run the script you need to save it like this index.php and save it to your www directory of your web host or you'r local web directory.

Example
<!DOCTYPE html>
<html>
<body>
<?php
echo "My first PHP script!";
?>
</body>
</html

Preview
Hello World!

No comments:

Post a Comment