Re: help needed with pager

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 5/25/06, Ross <ross@xxxxxxxxxxxxx> wrote:

http://scottishsocialnetworks.org/editor.php

http://scottishsocialnetworks.org/editor.phps

the pager in this page works except try and choose aberdeen from the area
dropdown. You should get 18 answers which is fine except when page 2 is
pressed at the bottom the query seems to be scrubbed and it returns the full
database.

any ideas how I can 'save' the query and not create a new blank query every
time the page is slef submitted?

Get your variables, like 'area', from $_GET if they're not in $_POST.
And then you can change your page navigation links to something
like:

echo $pager->get_prev('<a href="{LINK_HREF}&area=' . $area . '"
title="Previous">&laquo;</a>');

Rabin

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux