![]() |
Where is $page loaded? All i see is that you are testing the contents of $page, but it is not loaded anywhere in your example.
|
Marco,
$page is loaded in the link with page=$page. In url of page when I click on on page it is showing proper link like page.php?page=2, but the results are same as page 1. Do I need to get $page values before the link. I have like this for($page = 1; $page <= $maxPage; $page++) { if ($page == $pageNum) { $nav .= " $page "; // no need to create a link to current page } else { $nav .= " <a href=\"$self?page=$page\">$page</a> "; } } In template I just call $nav. $nav is displaying correctly with links and page numbers. but results are same <tr> <div border="1" align="$stylevar[right]" style="padding-bottom:2px">$nav </div> $usercategories - This variable has results </tr> Any suggestions are appreciated. Thanks |
Having ...php?page=x in the url, does not set a variable named $page in your script. ;)
|
Marco,
Where should I pass that $pagevariable inaddition to url page. CAn you please explain me in detail. Thanks for reply |
You can use
PHP Code:
|
It did not work wiith above code. thanks for reply. Any suggestions....
|
All times are GMT. The time now is 11:23 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|