3 ms·
You can use the same trick used here of hiding the PHP tags behind the comments /*<?php
by mikeryan 10y ago
You can use the same trick used here of hiding the PHP tags behind the comments /*<?php
- ivanca 10y agoActually that trick creates some residual garbage (the slash and the asterisk would be printed in PHP) A way to avoid this is to use the HTML comment notation, JavaScript just ignores it (until end of line), so just: <!-- <?php echo "-->";