PHP HELLO WORLD Language Program using notepad 2021

PHP HELLO WORLD Language Program using notepad 2021:

Hello World Programme:

PHP stands for Hyper Text Pre Processor earlier it is known as personal home pages. it is used to develop static websites and dynamic websites or web applications. The PHP reference implementation is now produced by the PHP group. 
Before learning the large programs you need to learn how to write a basic program in the PHP Language. here we are writing a basic program Hello world in PHP Langauge. 

Hello world program:

<! DOCTYPE html>

ECHO "Hello World!<br>";
echo "Hello World!<br>";
ECHO "Hello World!<br>";



Steps to Write the code:

Step 1: Open Notepad and type the above code of the hello world program
Note: You can go through the above code for clarification.
Step 2: Save the file on your computer by clicking the File and click Save As and name the file as per your interest and make sure to name the file as PHP for example abcd.php 
Step 3: Open the saved file and you can get the required output.

Expected output:

Hello World
Post Navi

Post a Comment