Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
PHP Hello World Program Tutorial
#1
Introduction:

In the previous tutorial, we learned about Xampp Server Software. In this tutorial, We are going to learn PHP tutorial to show "Hello World".

After the installation of Xampp server on your computer. Sart the Xampp server from its Controle Panel then go to Xampp root directory and find the folder "htdocs".

Create a "hello.php" file inside that folder and open the file with notepad or any text editor that you like.

Now copy and paste the code that given below.

PHP Code:
<?php 

echo "Hello World";

?>

Now save the "hello.php" page then open it like the following.

On your browser url address enter like the following.

Code:
localhost/hello.php

This will open the hello.php page and show the Hello World text.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)