$error=""; if(isset($_POST["username"])){ if(isset($_POST["forgotpassword2"])){ header("Location: passwordremind.php"); }else{ if($_POST["username"]!=""){ include "inc/db.php"; $sql="select brokerID from brokers where username='" . $_POST["username"] . "' and password='" . $_POST["password"]; $results=mysql_query($sql); if(is_numeric(mysql_num_rows($results))){ header("Location: brokersarea.html"); } $error="Invalid Login"; } } } ?>
|
| EDI | Employment Opportunities | Login |