PHP syntax highlighting
Posted: Thu Dec 18, 2003 12:03 pm
I am writing a source code section for my website and want the php code to be highlited. To do this i am using the function [php_man]highlight_string[/php_man] and its not going very well.
It is all brought from one variable, which inside that variable is a selection of text and then php code.
I want it sort of like the [ php] function on this forum.
If any one knows where how to do then please tell me. Thanks
It is all brought from one variable, which inside that variable is a selection of text and then php code.
I want it sort of like the [ php] function on this forum.
If any one knows where how to do then please tell me. Thanks