PHP Tutorial


Basic Syntax of php


Php starts with <?php and ending with ?>
e.g.
<?php
 $roll=58;
 echo $roll ;
?>

Echo Statement
<?php
// echo "This is my site name
echo "Hello World" #This is hello world msg

PHP  Comment
/* This is multiline comment
for an example */

###############
#   This is block  #
#  of comment   #
##############
?>

Post a Comment

2 Comments






  1. hi helpinghandenglish.blogspot.com
    handyhand.tk

    ReplyDelete
  2. This comment has been removed by a blog administrator.

    ReplyDelete