Sep 16, 2016

What is PHP ?

PHP is a server scripting language well known as Hypertext Preprocessor, a powerful tool for making dynamic and interactive Web pages. PHP is a widely-used, free, and efficient alternative to competitors such as Microsoft's ASP.

A Sample php web page is shown as below.

<!DOCTYPE HTML>
<html>
    <head>
        <title>My First PHP Page</title>
    </head>
    <body>

        <?php
            echo "Hi, I am from your PHP script!";
        ?>

    </body>
</html>

In the above code you can see the script which is embedded in HTML code.The PHP Code is placed between start and end tags , whis is entry and exit of PHP Code.

0 comments:

Post a Comment