Free2Code
The majority of forums are now only available as archives, which means posting/editing is disabled.

The Anything and Everything forum is still open.
 
Time: 2013-05-19, 09:35pm
highlight code in the php section
Subject: highlight code in the php section  ·  Posted: 2004-04-23, 04:16am
Rank: ? (4827)
Member #: 3416
not sure if this is possible since code is currently displayed in a <textarea>, but it would be cool of the php code could be highlighted--i find it lots easier to read that way, especially with the comments.

my mind is like a steel trap! it only hangs on to the big stuff. visit my forums at track7.org
 
  Reply to this ·  Post link ·  Top
Subject: Re: highlight code in the php section  ·  Posted: 2004-04-23, 08:14am
Rank: ? (862)
Member #: 2
It is whenever it is enclosed in <?php and ?> .. unfortunatly some people don't do this :\

-Terminal
 
  Reply to this ·  Post link ·  Top
Subject: Re: highlight code in the php section  ·  Posted: 2004-04-24, 02:32am
Rank: ? (4827)
Member #: 3416
i meant in the submitted code section -- going back to re-read my post it looks like i wasn't clear about that . . .
here is an example of submitted php code with <?php and ?> that is not highlighted. but like i said, i'm not sure if anything can be done about it since it's in a textarea:
most recent php submitted code


my mind is like a steel trap! it only hangs on to the big stuff. visit my forums at track7.org
 
  Reply to this ·  Post link ·  Top
Subject: Re: highlight code in the php section  ·  Posted: 2004-04-24, 11:32am
Rank: ? (111)
Member #: 13287
That would be pretty nice.... Hey, that's my code! :P

-Max Kelley "Always trust the cow." - Unknown Author (Maybe me....)
 
  Reply to this ·  Post link ·  Top

Pages: 1

Please login or register to post a reply.

Penguino AVR

Want to learn about robotics or microcontrollers?
Check out the Penguino AVR from our friends at
Icy Labs