Php Hello world

Php Hello world

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……….!!!

577 total views, 2 views today

Leave a Reply

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