Support » Plugins » comment out a piece of php code not working

  • Resolved userword

    (@userword)


    im not a programmer but just want to comment out a piece of code of a template

    comments.php

    but no kind of comment is working, i read you can use
    // single line at the beginning
    # single line at the beginning
    /* block comment multi line */

    not any of those work they are ignored and the code executed unless i simply delete the code which i dont want any reason beyond what i know as a non programmer for this not working

Viewing 2 replies - 1 through 2 (of 2 total)
  • Moderator James Huff

    (@macmanx)

    Volunteer Moderator

    Try one of these:

    /* (place code here) */

    <!-- (place code here) -->

    Thread Starter userword

    (@userword)

    thank you very much for some reason the second one is the only one works for me but at least that get it, im not programmer maybe depends on version no idea

    again thank you very much

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘comment out a piece of php code not working’ is closed to new replies.