Thanks

I went thru your tutorial & it worked (in general). However there is a
problem :

In my search form there is a multiple selection list, which generates
an array in the POST data.

$this->data contains the following:

Array
(
    [Job] => Array
        (
            [job_category_id] => Array
                (
                    [0] => 1
                    [1] => 3
                )

            [title] => xyz
            [location] => New York
        )

)

So, when I use your code, I get this error:

Warning (2): urlencode() expects parameter 1 to be string, array given
[APP/app_controller.php, line 135]

How to overcome this problem?


On Apr 11, 12:39 am, Miles J <[email protected]> wrote:
> First off it should be $this->paginate['Job'] = and secondly you do
> not pass $this->data to the paginator.
>
> Are you trying to save the forum values into the url? If so take a
> look at my tutorial 
> here:http://www.milesj.me/blog/read/30/proxy-search-_-doing-a-search-while...
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to