Quote:
Originally Posted by lightnb
I'm having an issue where including global.php causes my main script to stop functioning.
I've commented out your code, line by line to locate the problem, and my script works until I allow global.php to be called.
At that point, all of the links on the page stop working (the login box works fine).
It is a search results page, and the links are in this format:
PHP Code:
<a href="<?=$PHP_SELF?>?query=<?=$query?>&page=<?=$page?>&limit=5">5</a>
Any idea why global.php interferes with the functionality of these links?
Thanks,
Nick
|
Global may be using the variables $query and/or $page.
Put a simple echo statement on your page to see if those values are what you expect them to be.