PHP Basic Course::Comments in PHP

Discussion in 'PHP' started by matti313, Jul 24, 2011.

  1. #1
    In PHP,we use // to make a single-line comment or /* and */ to make a large comment block.

    <html>
    <body>

    <?php
    //this is a comment

    /*
    this is a
    comment block
    */
    ?>

    </body>
    </html>

    It's from http://trainingphp.blogspot.com
     
    matti313, Jul 24, 2011 IP
  2. EricBruggema

    EricBruggema Well-Known Member

    Messages:
    1,740
    Likes Received:
    28
    Best Answers:
    13
    Trophy Points:
    175
    #2
    LOL and next week you have the second course? :D
     
    EricBruggema, Jul 25, 2011 IP
  3. ezprint2008

    ezprint2008 Well-Known Member

    Messages:
    611
    Likes Received:
    15
    Best Answers:
    2
    Trophy Points:
    140
    Digital Goods:
    1
    #3
    LOL ..yeah speed this up or Im never gonna learn PHP
     
    ezprint2008, Jul 25, 2011 IP
  4. sinha.sidhi

    sinha.sidhi Peon

    Messages:
    50
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    yes this is correct its PHP basic comment...
     
    sinha.sidhi, Aug 29, 2011 IP