![]() |
argh!
anyone see why this query shouldn't return any results? if not, could someone please explain exactly what conditions they see in the SELECT statement, so i can go through and double-check everything? thanks.
btw, it's part of an addon i'm making that i *may* release, so i'll be sure to give credit. PHP Code:
|
hmm, it wouldn't return any results if $folderid isn't set up right or if $pagenumber=0 and $linksperpage=0 from what i can see..
|
here's the part just above that. note that $linksperpage is a setting i added in the admin cp.
PHP Code:
|
hmm use that if clause instead it's better because it will catch more buggy pagenumbers..
PHP Code:
|
good point, but that doesn't seem to be what's causing it. still changed it though.
|
hmm is it called within a function?
maybe you've forgotten to globalize $linksperpage.. |
nope, it's not in a function. :( any other ideas?
|
hmm, normally this should return a division by zero i think...
this line: PHP Code:
PHP Code:
|
what's different about the second one?
|
oh, got it. thanks. the listing still shows nothing though.
|
All times are GMT. The time now is 05:01 AM. |
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:
|