[drupal-devel] Re: Passing sql variables to a paged query

Axel Kollmorgen axel at kollmorgen.net
Tue Oct 18 15:41:39 UTC 2005

On 18.10.2005 12:37, Richard Grieve wrote:
> to the query. Is there any way I can pass the variables (as hidden form
> values?) to the pager query so that the pages return correctly.


$attributes An associative array of query string parameters to append to 
the pager links.

eg. theme('pager', array (), 10, 0, array ('foo' => $foo, 'bar' => $bar))

would pass foo and bar through the paged pages.


More information about the drupal-devel mailing list