Monday 28 January 2013

Get value send in post method in magento

To get value send in post method , Magento use getRequest()->getParam() Method.The Proper code written below.

<?php $var = $this->getRequest()->getParam('<b>yourfieldname</b>');?>

No comments:

Post a Comment