0) { //echo "Records inserted successfully."; $row = mysqli_fetch_array($res); extract($row); $_SESSION['email'] = $email; $_SESSION['member_profile_id'] = $member_profile_id; $_SESSION['id'] = $id; echo ""; } else { $ermsg = "Either Email ID or Password is Incorrect..!"; } } } ?>