Showing posts with label How to build query string in magento. Show all posts
Showing posts with label How to build query string in magento. Show all posts

Wednesday, 21 January 2015

How to make query string in magento


How to make query string in magento

Here i will show you how to build query string in magento. Just see below exmaple.

http://chandreshrana.com/banner/save/index?pid=259

Above url convert in magento query string style

http://chandreshrana.com/banner/save/index/pid/259/

Now how to get pid value.. just write below statement..

echo Mage::app()->getRequest()->getParam('pid');