Hello all,
On my website I have a PHP Archive and when people post their sample code I want the php code to get the highlights. Like orange as comments, black as HTML, and so on. To do this, I had to call my code from MySQL, I stuck it in a While loop (this all comes in to play in a second) and it goes something like this:
//some other code here that calls the while loop and echos a table to start.
<td class=\"Geneva\">\n";
highlight_string($arch[body]); /$arch[body] is the text Im passing through it. Geneva is the font called from CSS style./
echo"</td>
//more code to end table
My problem is that I cannot get it to be the font that I want. It always goes to one I dont want. Check out this page below, notice the text in the body and then look at all the other text around the site (text around the site is what I want it to be).
-----Link------
http://www.phparray.com/?name=Archive&Catagory=1&id=1
------End------