Thursday, July 12, 2012

Introduction to PHP


PHP is a server side language , and is a powerful tool for making dynamic Websites.
PHP stands for  Hypertext Preprocessor

It is a widely-used because it is free (open source) and efficient alternative to competitors such as Microsoft's ASP. Also PHP can be embedded into HTML.

Here is simple example to print welcome to world of php.

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">
<html>
    <head>
        <title>Example</title>
    </head>
    <body>

        <?php
            
echo "Welcome to world of php.";
        
?>
    </body>
</html>

No comments:

Post a Comment