pager problem again

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

 



http://scottishsocialnetworks.org/editor.phps

http://scottishsocialnetworks.org/editor.php


I am using this pager class and I cannot seem to get the syntax right for 
adding the search string, area and service types to the url.

http://www.firepages.com.au/php_pagination_class.htm


Here is the full query...

SELECT * from contacts WHERE sname LIKE \'%%\' AND area LIKE \'%%\'AND 
p_service LIKE \'%%\' AND s_service LIKE \'%%\' AND t_service LIKE \'%%\' 
ORDER BY sname LIMIT 0 , 10


The search is a combination of surname, area and the three services it was 
suggested something like this would work

echo $pager->get_prev('<a href="{LINK_HREF}&area='$area '&sname='$sname" 
etc.

but I cannot get the syntax right and because the values are not 'resent' to 
browser the paged va;ue on pages 2, 3 4 etc are lost.


R. 

-- 
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