Jay Blanchard <mailto:jay.blanchard@xxxxxxxxxxxxxxxxxxxxx> on Thursday, March 24, 2005 1:00 PM said: > I have tried ... > 0 < count($errorsReported) > 0 != > 0 !== > isset($errorReported) > !empty > '' != > '' !== Have you tried explicitly setting $errorsReported to "" to see where it goes? $errorsReported = ""; if(!empty($errorsReported)) { // do loop } else { // do redirect } Also, are you sure your program is even GETTING that far? Maybe the program is stopping before the point in question. > And Chris, thanks for the heads up, I put the exit() and the FQDN in > there. In that case may I suggest the following function: function redirect($location) { header("Location: ".FQDN_CONSTANT."$location"); exit; } Makes things easier down the road. Chris. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php