Showing posts with label php Comments tag. Show all posts
Showing posts with label php Comments tag. Show all posts

Tuesday, April 16, 2024

php Comments

 

Comments in PHP



php Comments


  1]Comments in PHP code are lines that are not executed as part of the program.

  2] Its sole purpose is to read the tracker's code. 

  3]all experienced returning to work after a year or two and wondering what to do next.

  4] Comments can remind you what you were thinking when you wrote the number
     Leave
 spaces between numbers

One-line comments

One-line comments start with / /.


Comments in PHP

Example :-


<!doctype html>
<html>
    <head>
        <title>html code and php code</title>
    </head>
<body>
    <h1>MY FIRST PROGRAM IN PHP </h1>
    <?php
    //echo "Hello friends
    // How are your
   
    //fine "
         ?>
</body>
</html>



Comments in PHP

Output :-

MY FIRST PROGRAM IN PHP

Read more 


PHP Syntax Tag

PHP Array

PHP Switch Statement

PHP if else Statements

PHP Data type

PHP Introduction