PHP - My First PHP Program

This is a basic php embeded HTML program.

<?php
    echo "<h3>Hello This is my First PHP Program </h3>";
?>

<?php
    print ("<h3>Hello This is my First PHP Program </h3>");
?>

According to the above program you can appear Following out put

Hello This is my First PHP Program


  • echo and print statements are use to write something in the browser. Within the echo statement we can use html tags to format the text.

No comments:

Post a Comment