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:Hope you learn even a little. I will make it more detailed for the next post.
Courtesy to :
- CodeFormatter for the nice formatted pre element
- TechTerms for the String definition
No comments:
Post a Comment