10-05-2009, 07:56 PM
Then you are doing it right with // or you can use mulitline comment also
the first print will be shown and the second not
in html file (files that end with .html .htm) you need to use <!-- text here -->
Code:
/* test here */
Code:
<?php
print "This is shown";
// print "Don't not execute";
?>
the first print will be shown and the second not
in html file (files that end with .html .htm) you need to use <!-- text here -->
Code:
<div>show</div>
<!-- comment -->>