It's not the best way but you can do it like this maybe:

$data = $request->getPost();
echo $data['qsearch];

Just to help you further for this moment... I'll have a closer look later
on...


Deepak Shrestha wrote:
> 
> On Fri, Feb 6, 2009 at 10:43 PM, PHPScriptor <[email protected]>
> wrote:
>>
>> I'm assuming that if your method "getPost" does not exist that your
>> $request->isPost() and isValid($request->getPost()) will also not work.
>> Try
>> to do a var_dump of $request->getPost(); and your $request.
>>
> 
> Hi,
> 
> I agree with you on this. I also came up with similar logic that if
> getPost() is not working then validators should also not work; however
> I noticed that my validators are working perfectly.
> 
> 
> I entered the string 'checking' in form & did var-dump of
> $request->getPost() and got this:
> ==========================
> array(2) {
>   ["qsearch"] => string(8) "checking"
>   ["submit"] => string(6) "Search"
> }
> ==========================
> 
> So that means its working.
> 
> Now I don't know what's going on
> 
> Any Suggestion?
> 
> -- 
> =======================
> Registered Linux User #460714
> Currently Using Fedora 8, 10
> =======================
> 
> 


-----
visit my website at  http://www.phpscriptor.com/ http://www.phpscriptor.com/ 
-- 
View this message in context: 
http://www.nabble.com/Why-%24form-%3EgetValue%28%29-is-not-working--tp21868209p21875734.html
Sent from the Zend Framework mailing list archive at Nabble.com.

Reply via email to