So I'm submiting a form and I'm trying to check if a field is empty or not and I do this:
if(empty($this->_getParam('my_field')))
And It doesn't work, But this works if I just use $_POST['my_field]
<b>Fatal error</b>: Can't use method return value in write context in....
How should I do this with $this->_getParam
in order to work? since I guess is not such a good option to use $_POST
on a framework.