Forums
(@frettsy)
15 years, 9 months ago
hmm.. here is a screenshot of what I’m getting.
my fix was to add those functions into the code, then use
$baseurl = remove_querystring_var($_SERVER['REQUEST_URI'], 'qp'); if (strpos( $baseurl,'?'))$urlpages = $baseurl.'&qp=';
notice I replaced ‘&’ with ‘&’ for XHTML standards.
hmm.. I see you have changed the relevant code a bit, but now, if I click the next page link, it works correctly (https://calenfretts.com/quotes/?qp=2). but then, if I click another page link, it is incorrect (https://calenfretts.com/quotes/?qp=2&qp=3).
the functions on this page should help: https://www.addedbytes.com/php/querystring-functions/