I seen this many times before discussed on this forum but I can't find a tread relating to this on the forum. Can anyone give me a link to a thread of a tutorial that can show me how to do this..
reason being i want to display some scripts.. sort of as a tutorial...
php highlighing
Moderator: General Moderators
- John Cartwright
- Site Admin
- Posts: 11470
- Joined: Tue Dec 23, 2003 2:10 am
- Location: Toronto
- Contact:
- John Cartwright
- Site Admin
- Posts: 11470
- Joined: Tue Dec 23, 2003 2:10 am
- Location: Toronto
- Contact:
hrmmm sort of but no
for example on this forum using the buttons.
All php syntax is highlighted.
Know what I mean?
for example on this forum using the
Code: Select all
All php syntax is highlighted.
Know what I mean?
- John Cartwright
- Site Admin
- Posts: 11470
- Joined: Tue Dec 23, 2003 2:10 am
- Location: Toronto
- Contact:
yes that is what highlighing means
notice the difference
notice the difference
Code: Select all
<? echo "this is not highlighted"; ?>Code: Select all
<? echo "this is highlighted"; ?>-
Illusionist
- Forum Regular
- Posts: 903
- Joined: Mon Jan 12, 2004 9:32 pm
use the highlight_string()
I posted a reply to a questionlike this on here but i couldn't find it... o well i found these:
1
2
I posted a reply to a questionlike this on here but i couldn't find it... o well i found these:
1
2