I want to put a php script, surrounded by text, on my blog and I want to have the script to be like how is here on this forum, in a box with colors.
How can I do this?
Printable View
I want to put a php script, surrounded by text, on my blog and I want to have the script to be like how is here on this forum, in a box with colors.
How can I do this?
http://www.google.co.uk/search?q=php...x+highlighting
2nd link is to GeShi which I have seen mentioned many times.
Thank you for the link, but I tried the example from that site and this is what I get. I don't get text with colors.
I have the correct path for includeand I don't know why doesn't work. What do you think?PHP Code:include_once 'geshi/geshi.php';
Please read the GeSHi documentation. Any further questions, I'm sure people would be happy to help you with.