Bastien,
Thanks for your reply (and on the weekend, no less!).
I went back and looked and the function does return only YES or NO so that wasn't
the problem. What I found to be the problem was that my while loop inside the IF
clause was running no matter what. So what I did was put the while
hard to say without the code for the function...what is returned by the
fuction determines if the code runs, right? Are you sure the code is
returning YES? Maybe post the code for the function
bastien
From: Karen Resplendo [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: [PHP-DB] Why does this