Left Quote    Every day I get up and look through the Forbes list of the richest people in America. If I
- Robert Orben    
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,125 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,505)
Since: 02/06/05
Posts: 600
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,117 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-2018; All rights lefted, all lefts righted.
Privacy Policy  |  Internet Rank