PHP Hello World Example

Create a file named helloworld.php and put it in your local web server’s root directory. Write the following code.

<?php
echo "Hello World!!!";
?>

Run Program

Now you can access helloworld.php using http://localhost/helloworld.php on your web browser.

No comments yet.

Leave a Reply