Php Hello world

(Last Updated On: August 11, 2012)

Step 1: Create a file named hello.php under the php file extracted location(I have extracted my php in d:\php), so i have pasted the below code in d:\php\hello.php and paste the below code,

<?php  
echo "Hello World!\\n" 
?>

 

Step 2: Now go to the command and execute as follows,

 

Thanks for reading this post……….!!!

283 total views, 0 views today

Leave a Reply

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