Thursday, April 23, 2015

echo in PHP

Hi Everyone,

Good day, its me again. I want to share to you a snippet of a php code.
The code below simply print a string or a word.

String is a data type used in programming, such as an integer and floating point unit, but is used to represent a text rather than numbers. Click this link to know more about Strings and other data types.

Here it goes,
 <?php   
    echo "Hello World";  
 ?>  
This will print Hello World in the browser when you run it. See the image below:
echo hello world

 Hope you learn even a little. I will make it more detailed for the next post.

 Courtesy to :

No comments:

Post a Comment