Login

'; } if (@mysqli_num_rows($result_check_credentials) == 1)//if Query is successfull { // A match was made. $_SESSION = mysqli_fetch_array($result_check_credentials, MYSQLI_ASSOC);//Assign the result of this query to SESSION Global Variable // Datenbank Login Datum/Zeit als Zeitstempel speichern $login_time = time(); $query_member_last_login = 'UPDATE members SET member_last_login='.$login_time.' WHERE Email="'.$Email.'" LIMIT 1'; $result_member_last_login = mysqli_query($dbc, $query_member_last_login) ; // Print a customized message: if ($result_member_last_login == 1) { //if update query was successfull // redirect after header definitions - cannot use wp_redirect($location); ?>
    '; foreach ($error as $key => $values) { echo '
  1. '.$values.'
  2. '; } echo '
'; } if(isset($msg_error)) { echo '
'.$msg_error.'
'; } /// var_dump($error); mysqli_close($dbc); } // End of the main Submit conditional. ?>

Login Form

Bitte geben Sie Benutzername und Passwort ein