On 5/25/06, Ross <[EMAIL PROTECTED]> 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

Reply via email to