11-24-2008, 11:41 AM
|
#3 (permalink)
|
|
The Prestige
Join Date: Sep 2007
Location: Sweden, Stockholm
Posts: 1,080
Thanks: 115
|
Don't really think this should be in the advanced section.
Anyhow.
Why are you returning false if you don't run a check on it?
PHP Code:
if($listUsers) { // Function returned true }
HOWEVER. Your function will return true, even if there are no results.
So you would probably have to check if the function returned any results, aswell as checking if it returned true or false.
__________________
|
|
|
|