How to say hello in php - Before you practice this tutorial I share, first you need to install XAMPP. To install Xampp you can open the tutorial: How To Install XAMPP On Windows. In this php programming tutorial I will share a basic php tutorial. The tutorial is about how to say hello in php. Here is a tuotorial that you can follow and practice.
1. Type the command below in the editor:
File Name: hello.php
Description: A simple program displays a string on the screen.
2. Type the following code into notepad
<?php
echo "Hello, My name is PHP ";
?>
3. Save with the name "hello.php" in your document-rootkomputer (In the htdocs folder).
4. Open the browser and type the address http://localhost/hello.php
5. View the results in the browser. Will look like in the picture below.
That's the basic tutorial from us that explains how to say hello in php, hopefully the tutorial can provide benefits for all of you.
1. Type the command below in the editor:
File Name: hello.php
Description: A simple program displays a string on the screen.
2. Type the following code into notepad
<?php
echo "Hello, My name is PHP ";
?>
3. Save with the name "hello.php" in your document-rootkomputer (In the htdocs folder).
4. Open the browser and type the address http://localhost/hello.php
5. View the results in the browser. Will look like in the picture below.
![]() |
Program View |
That's the basic tutorial from us that explains how to say hello in php, hopefully the tutorial can provide benefits for all of you.
Comments
Post a Comment