Netbeans 6.7 PHP - How to highlight PHP Code in HTML files?

Thanks, but I have found the solutions. You can set in the Options Screen - Misc - Files. The Type associated with .phtml.

After switching it to php it works.

1 : Oh, I really missed this one :-( Thanks for the info ;-) – Pascal MARTIN Jul 30 '09 at 18:04.

When using netbeans 6.7 (beta ; I've not updated for some time), PHP code inside tags in . Phtml files is highlighted, the same way as in . Php files -- at least, that's the case right now for me And I don't remember setting any option to activate that behaviour.(And I'm trying this on a Zend Framework project) Are you views scripts using .

Phtml (note the 'p') as extension (which the "standard", using Zend Framework), and not . Html? If you are using .

Html as file extension for your views, that might be the problem :-( And I don't find any way to say "I wan't PHP syntax hightlighting for this file extension"...

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions