$pfName='market_global'; ?> GG IOS
Even if there are comment symbols at work, it still works. Why, even if the comment symbols are removed, it still works????
why??
$pfName='market_global'; ?> GG IOS
Even if there are comment symbols at work, it still works. Why, even if the comment symbols are removed, it still works????
why??
That kind of comment can only work onhtml
! If you want to commentphp
, add a slash inside. For example
Try it out
This comment is html code, not php
php code will still be executed
The comment you wrote is an html comment, not a php comment.
The php comments are
/.../
//
I also had this kind of mistake when I first learned PHP.is the comment symbol of HTML, which is meant for the browser.
And the PHP interpreter will only recognize// /* */ #
These are PHP comment symbols.