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 < 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).
<?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.