[PHP] How to comment out or write comments anywhere

Post a reply

:
In an effort to prevent automatic submissions, we require that you complete the following challenge.
Smilies
:D :) ;) :( :o :shock: :? 8-) :lol: :x :P :oops: :cry: :evil: :twisted: :roll: :!: :?: :idea: :arrow: :| :mrgreen: :geek: :ugeek:
BBCode is ON
[img] is ON
[flash] is OFF
[url] is ON
Smilies are ON
Topic review
   

Expand view Topic review: [PHP] How to comment out or write comments anywhere

[PHP] How to comment out or write comments anywhere

Post by admin » Sat Mar 24, 2018 2:17 pm

This little snippet of code assumes you are using it inside a .php file. You can copy and paste it as is and rewrite the textual part before or after any code (e.g. javascript)

Code: Select all
<?php
//============================================================================
// Here you can write whatever the heck you want , without worrying about weird characters
//============================================================================
?>


Top

cron