Anonymous
  • 0

php comment

  • 0

php comment

  1. How to write comments in PHP

     

    Single Line Comments

     

    <?php

        echo “Test”; // Output “Test”

    ?>

     

    Multi-line Comments

     

    <?php

        /* The following line of code

           will output the “Hello World!” message */

        echo “Hello World!”;

    ?>

    • 1
Leave an answer

Leave an answer

Browse