Jump to content

d_governor

New Members
  • Posts

    3
  • Joined

  • Last visited

Everything posted by d_governor

  1. $sql = ("select * from MainAdmin WHERE security = '$username' and password = '$password'"); $Userquery = mysql_query($sql); $Userfetch = mysql_fetch_array($Userquery); if (mysql_num_rows($Userquery)==0 ) { echo "<font color=#ff0000><Center>**Failed Login**</Center></font>"; } if (mysql_num_rows($Userquery) != 0 ) { $_SESSION['logged_in'] == true; $_SESSION['Security'] = $Userfetch['Security']; $_SESSION['Name'] = $Userfetch['Name']; if($Userfetch['status'] == 'MainAdmin' || 'Admin') { $Page = 'adminP.php'; }
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.