Left Quote    Nearly all men can stand adversity, but if you want to test a man's character, give him power.
- Abraham Lincoln    
Right Quote
[login] | [Register]
Forum Index » PHP and mySQL » Viewing Topic and Replies
Post Reply

        Viewing Topic: Syntax!
  This user is offline  ki
  Subject: "Syntax!" Posted: @ 5:14 pm on Feb 22 2007   

Member #: 204
Rank: User - (50)
Since: 09/16/06
Posts: 53
From: Florida

How would I show the syntax of php in a code thing?
Like you did for code examples.

    Viewed: 4,986 Times | Reply to This | To top
  This user is offline  bs0d
  Subject: "re: Syntax!" Posted: @ 5:55 pm on Feb 22 2007    

Member #: 1
Rank: Admin. - (1,508)
Since: 02/06/05
Posts: 602
From: USA

The code box looks like a textarea, but it is actually a div with CSS scroll bars.

And i do something like this:


if($_GET['typ e'] == "PHP&quo t;) {
highlight_strin g($code);

Check out ght_string

-bs0d |

    Viewed: 4,978 Times | Reply to This | To top
Viewing Page: 1 of 1

1 |

You must be logged in to post on the forums. Login or Register

"" Copyright © 2002-2020; All rights lefted, all lefts righted.
Privacy Policy  |  Internet Rank