The first program in any programming language is "Hello World", here i will write a small PHP program and explain about it.
.................................................................................
<?php
echo "This is my hello world program";
?>
..................................................................................
Output- This is my hello world program
_________________________________________________________________________________
Description- Here <?php ------------------> Starting PHP Tag
<?------------------------> Ending PHP Tag
echo----------------------> Works a output function.
.................................................................................
<?php
echo "This is my hello world program";
?>
..................................................................................
Output- This is my hello world program
_________________________________________________________________________________
Description- Here <?php ------------------> Starting PHP Tag
<?------------------------> Ending PHP Tag
echo----------------------> Works a output function.
Comments
Post a Comment