*.PHP is both PHP and HTML class

General questions about using TextPad

Moderators: AmigoJack, bbadmin, helios, Bob Hansen, MudGuard

Post Reply
chrisjj
Posts: 149
Joined: Sat Jan 21, 2006 10:32 pm

*.PHP is both PHP and HTML class

Post by chrisjj »

When I tried adding a PHP class for *.PHP, I got a warning saying *.PHP was already in the HTML class.

Can I not have it in both?

If not, is there a php.syn that does HTML too?

I'm using this:
PHP 5 Syntax definitions for PHP, supporting PHP version up to 5.3.
Contributed by Amit Verma, 12 September 2009.
which does not do HTML.

Thanks.
chrisjj
Posts: 149
Joined: Sat Jan 21, 2006 10:32 pm

Re: *.PHP is both PHP and HTML class

Post by chrisjj »

Please?
chrisjj
Posts: 149
Joined: Sat Jan 21, 2006 10:32 pm

Post by chrisjj »

Please??
User avatar
tarraccas
Posts: 16
Joined: Tue Mar 06, 2007 2:46 am

Post by tarraccas »

Check for PHP + HTML syntax files under the download link (above). They may be a little dated but I recall seeing several there for you to try (and probably want to update a bit).
~T
chrisjj
Posts: 149
Joined: Sat Jan 21, 2006 10:32 pm

Post by chrisjj »

Thanks. There I found http://www.textpad.com/add-ons/files/sy ... s-html.zip and am trying it.
Post Reply