Sunday, 9 June 2013

HELLO WORLD PROGRAM IN PHP FOR BEGINNERS

Here is a simple php program for beginners just to print a message using the echo command.
SOURCE CODE:-
/************************************************************/
<html>
                <head>
                                <title>HELLO WORLD </title>
                </head>
               
                <body>
                <?php
                                echo "HELLO WORLD !!!";
                ?>
                </body>
</html>
/************************************************************/

 Here note that you can embed html within your php file, and <?php is the opening tag for php code and ?> is the closing tag. 

No comments:

Post a Comment