allex01 Posted August 27, 2008 Share Posted August 27, 2008 I want to post a php code on my site for other users to see. I want the code to be formated with a nice display rather then have it display as regular text with no indents or formatting. What script or piece of code can do this. here's an example http://green-beast.com/blog/?p=78 Thanks Link to comment https://forums.phpfreaks.com/topic/121492-solved-php-code-format-on-website/ Share on other sites More sharing options...
Ken2k7 Posted August 27, 2008 Share Posted August 27, 2008 Try highlight_string() Link to comment https://forums.phpfreaks.com/topic/121492-solved-php-code-format-on-website/#findComment-626525 Share on other sites More sharing options...
allex01 Posted August 27, 2008 Author Share Posted August 27, 2008 Thanks, I'll try it. Link to comment https://forums.phpfreaks.com/topic/121492-solved-php-code-format-on-website/#findComment-626647 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.