Hello Everyone,
I am having a problem displaying php source code inside of my files. What I am doing is people can upload code to the database, and other people can look at the code. But when I pull the code from the database and display it in the browser, it is all plain text...no syntax highlighting.
The code that I am using to display everything, is:
$newcode = highlight_string($code);
echo $newcode;
Do I need to be doing something besides this? Please advise..Thanks in advance
Jason