Results 1 to 4 of 4
  1. #1

    Question Boneheaded again... commenting code?

    Is there a way to do a block comment-out in PHP?

    script line;
    script line;
    script line;

    or am I stuck with:

    //script line;
    //script line;
    //script line;



    - D

  2. #2
    Join Date
    Oct 2002
    Houston, Tx

    echo "This is a test"; // This is a one-line c++ style comment
    /* This is a multi line comment
    yet another line of comment */
    echo "This is yet another test";
    echo "One Final Test"; # This is shell-style style comment

  3. #3

    Oh, I thought I tried
    /* this method
    already. */

    Well, I definitely feel stupid for that. Thanks though for correcting my misconception.

    - D
    TriniTronic - Advanced Web Development - - The Web Developer's Wiki Resource Guide -

  4. #4
    Join Date
    Aug 2002
    Long Island
    it's likes Ceeeeee.
    John Trovato
    In Office Networks, LLC
    Programmer, Cisco Network Engineer, Roofer, Biochemist, and Conductor.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts