Hello, World – Your First PHP

PHP Frameworks

In this tutorial you will run a simple text “Hello world” i.e. Your First PHP. Create a file named with myfirstpage.php and place it in your web server’s root directory i.e. DOCUMENT_ROOT with the following content:

  <title>PHP: Hello world</title>
 <?php echo 'Hello World'; ?> 

Leave a Reply

Your email address will not be published. Required fields are marked *

three × 2 =