PHP BASIC SYNTAX-02

  •  starts with <?php and ends with ?>
  • Commenting...
  •         // This is a single-line comment

            # This is also a single-line comment

             /*
           This is a multiple-lines comment block
           that spans over multiple
           lines
           */  

    <?php                  → Starting tag
     
     //code goes here → code
     
    ?>                        →Ending tag

Comments