Is there any way to tell Netbeans to highlight PHP code in HTML files? I am using Zend Framework, where a lot of PHP code is included in the view files.
Asked
Active
Viewed 5,108 times
1 Answers
15
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.

opHASnoNAME
- 20,224
- 26
- 98
- 143
-
+1 : Oh, I really missed this one :-( Thanks for the info ;-) – Pascal MARTIN Jul 30 '09 at 18:04
-
thanks, your hint helped me to set the association for *.tml files (tapestry markup language) +1 – MartinC Jan 28 '13 at 08:58
-
I coudn't find Misc in options... Can you please specify the exact steps to do this. – A.M.N.Bandara Jun 25 '14 at 09:35