Fetch website information from Store and Group in Magento

Here I explained How to fetch website information from Store and Group in Magento. You can use below code for fetching some data from one website to another website. Hope it will help you…