Creating PHP Scripts ("Hello World!")

 

Create a new empty file with your editor and begin with a simple PHP code block.

<?php

Print "Hello, World!"; 

?>

 

Save the file as hello.php

 

To make the script work, run the hello.php command:

$ php list.php

 


 

 

 

 

 

 

 

 

 

Read 961 times