Email address entered is invalid

'; printFooter(); exit; } $q = "SELECT reviewerid, username, email FROM " . OCC_TABLE_REVIEWER . " WHERE email='" . safeSQLstr(oc_strtolower($_POST['email'])) . "'"; $r = ocsql_query($q) or err("Error checking email ".mysql_errno()); if (($rnum=mysql_num_rows($r)) == 0) { print '

Invalid email.

'; } elseif ($rnum > 1) { err("multiple accounts with this email address"); } else { $e = mysql_fetch_array($r); $msg = ' Your username for accessing the ' . $OC_configAR['OC_confName'] . ' OpenConf system is: ' . $e['username'] . ' '; sendEmail($_POST['email'],"Username Recovery", $msg, $OC_configAR['OC_notifyReviewerEmailUsername']); print 'We have emailed your username. Once you receive it, you may sign in here.

'; printFooter(); exit; } } else { print '

Please enter the email you registered with below

'; } print '
Email:

'; printFooter(); ?>