PDA

View Full Version : how to [php] code


bayan
Tue 14th May '02, 5:21am
hello every body

when I want to do colored php code like this
Code hre
if the code in the text file I use

Show_source("filename.txt"):

but if the code in the database feild how can ido that.

I want same as we use in vbulletin when we add any subject like I used top.

thanks

scoutt
Tue 14th May '02, 3:13pm
I use highlight_string($variable);

where $variable is the data from the DB.