10/20/2010

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