![]() |
I dont understand this..
it was working, we switched servers and now its not
PHP Code:
|
Ok, when you say it's not, can you provide more info on why it's not working like any errors or what you are expecting to see?
|
well it does display the 1st page, but when I click on next page it reloads the same content. it won't load the new content, just reload the first page over and over again.
does that make sense? |
Take a look at the source in your browser - wheter the links are generated correctly. I'd say the problem is there. I would think you get an error with $_SERVER['PHP_SELF']. Check wheter that variable gives out the correct content :-)
|
no $_SERVER['PHP_SELF'] is working fine.. anyone else
|
If this is a way of pagination, I suggest your dump it into an array and use array_slice. Look it up on php.net ;)
Otherwise, this should be working just fine. If this is a way of using SMARTY (hence the {$_SERVER['PHP_SELF']} tags (see { })) you should consider just using PHP Code:
|
| All times are GMT. The time now is 07:07 AM. |
Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0