Get the posted data from Form in Zend Framework 2
I m new to Zend Framework, so asking a basic question. I want to get the posted data, in general from one field in a form, I wanted to get the data for debugging purposes.
For example I have a form with fields like username, age and so on. In my controller in addAction(), I want to fetch the username, store it in a variable and use it for debugging purposes. I hope I made it clear. In case if my question is unclear then please do let me know.