Hi Can Some one help me with Blog Funcation in PHP

I have tried to remove blog by calling function “RemoveBlog(1)” where 1 is BlogID,but it gives me error that “Cannot remove it as dependency exists!!”.

You haven’t given any code behind the function itself so we aren’t going to be able to help you until you do.

However I can take a guess and say you probably first need to delete all the posts inside that blog before you can remove the blog - if the database tables are linked, for example - though it looks more like that’s enforced by the PHP code itself.

If you’re talking about WordPress multisite. isn’t blog #1 the “super admin” blog?