UtamaBeritaTutorialBlogTool

How to get blog name

Posted By: zainal on February, 07 2007

Use the explode() function on URL to get the blog name.

For example: http://blog.ilmuit.com/blogname

$blogname = explode("/", get_bloginfo('url'));
echo $blogname[3];






No Comments


Leave a reply

= Please answer this math (required)