Try something link that:
(isset($this->data['User']['fname'])? $firstname = $this->data['User']
['fname'] : $firstname = $this->params['named']['fname']);
(isset($this->data['User']['lname'])? $lastname = $this->data['User']
['lname'] : $lastname = $this->params['named']['lname']);
$paginator->options(array('url'=>array_merge(array('fname'=>
$firstname, 'lname'=>$lastname), $this->passedArgs)));
On Dec 7, 9:11 am, Amit Rawat <[email protected]> wrote:
> It not working. Well the problem is i m posting a search form whenever a
> user enters some value for first name or last name the paginator give me
> result but when i click on next button, i need to post the form again so
> that page2 give me result according to search critera
Check out the new CakePHP Questions site http://cakeqs.org and help others with
their CakePHP related questions.
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected] For more options, visit this group at
http://groups.google.com/group/cake-php?hl=en