How to add PHP tags to blogs

Hey guys i’ve found out how to add php tags and hence examples to the blog. We just have to replace the ‘<‘ symbol in tags with a &lt; statement, which will render the ‘<‘ symbol for us. Its as easy as that. The problem is that google or blogspot server supports the php and hence when i quote examples, they were actually parsing it, i.e, executing the php code. So in order to prevent that we’ll render the ‘<‘ symbol in the other way, and presto it works. Also put the examples within a <pre> </pre>, it will show the examples as a code-fragment(i.e, in that style).
eg:

<?php
echo "hello World";
?>

The syntax-highlighting of the code is based on the post-
http://binil.wordpress.com/2007/09/06/formatting-source-in-blogs-hosted-on-wordpress. Now i’ll quote more php examples in the blog.

Advertisements

Why examples are not added for PHP..

I’ve not yet added any example for PHP programs, as i’m unable to show the PHP tags, in the blog.. It simply won’t come visible in the blog, even though I type it. Can Anyone tell me how to make the PHP tags visible..

Please help me, its important..So as to keep the blog ticking… I’ll surely find a way around soon.