Quote:
Originally Posted by career
Thanks for your advice, kh99. But I didn't plan to use javascript.
Just can't realize how to make construct_page_nav() work without long url and so many vars in it. Would be great to have a working url for 2nd page like test.php?do=show&page=2 or something but not containing too much variables like now.
|
I see. But of course all the data needed to display the page has to be passed from one page to the next, and if it's not part of the url then the only other way is to post it as a form. I suppose if it's just the url length you're worried about you could somehow encode the info into one parameter, like maybe:
Code:
test.php?do=show¶ms=20,2,91,95,99
Then something like:
Code:
$vbulletin->input->clean_gpc('r', 'params', TYPE_STR);
$params = split(',', $vbulletin->GPC['params']);
$pp = $params[0];
$page = $params[1];
$forum = array_slice($params, 2);