If i want to comment out php code in netbeans i have to do it manually as i haven’t found a way of doing it from a netbeans command ?
so if i have this code example:
<?php bloginfo('template_url') ?>
I would manual type:
<?php /*<?php bloginfo('template_url') ?> */?>
Using the insert comment button only seems to include // 0r
<!-- --> which does not comment out php code ?
in dreamweaver you also have the option of php comment , is this function available in netbeans ?
Many thanks
The server will interpret the php file before hand,
<!-- -->is used to comment once the php is converted to HTML.So you may use :
Which only comment the php code and so won’t be executed on php compilation