Hello Friends,
If you are looking to fetch the request variable in Zend Framework like As a web-page get submit lots of variable posted through GET or POST method. If you want to fetch these variable in Zend Framework, please use the below code for the same::
1) Open your controller and use the below code::
$request = $this->getRequest();
$username = $request->getParam('username');
// this code is as similar to $request->getParam('username') == $_REQUEST['username'] in core PHP
0 Comment(s)