-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

neobeacon wrote:
> If I build a form by using  view script (using html tags/without using zend's
> form elements) how to get posted values from action's page ?

In a controller action:

$this->_request->getPost(); // will return an array of all $_POST values
$this->_request->getPost('name'); // will return the value of $_POST['name']
and
$this->_getParam('name'); // will return something similar to
$_REQUEST['name'] (the value from a combination of $_GET and $_POST, but
includes data parsed from the route)

- --

Brenton Alker
PHP Developer - Brisbane, Australia

http://blog.tekerson.com/
http://twitter.com/tekerson

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkqcgzMACgkQ7bkAtAithusztQCeJt/2yWwsPJmv0IXt3oXUmPwa
UNwAn1wex5Dy7mJuKsT56KTkUygsc7mS
=MhWN
-----END PGP SIGNATURE-----

Reply via email to