the problem in your code is you didn't use $result in the right way, where is mysqli_query()?
$GetLoginTimes = "Select Login_Times from usertable where email = '$email'";
$GetLoginTimes2 = mysqli_fetch_array($GetLoginTimes);
it should be like this:
$GetLoginTimes = "Select Login_Times from usertable where email = '$email'";
$result = mysqli_query($con, $GetLoginTimes);
$GetLoginTimes2 = mysqli_fetch_array($result);
and the second problem is when you retrieve the row, you didn't separate the Login_Times column from the row with $LoginTimesEdited[0], so this code:
$LoginTimesEdited = $GetLoginTimes2 + 1;
$UpdateLastLogin = "UPDATE usertable SET Login_Times = '$LoginTimesEdited' WHERE email = '$email'";
mysqli_query($con, $UpdateLastLogin);
should be like this:
$LoginTimesEdited = $GetLoginTimes2 + 1;
$first_element = $LoginTimesEdited[0];
$UpdateLastLogin = "UPDATE usertable SET Login_Times = '$first_element' WHERE email = '$email'";
mysqli_query($con, $UpdateLastLogin);
to prevent SQL injection you should use the prepare statement here is your example with prepare statement:
$email = "example@example.com";
$stmt = $conn->prepare("UPDATE usertable SET Login_Times= Login_Times + 1 where email=?");
$stmt->bind_param("s", $email);
$stmt->execute();
$stmt->close();
$conn->close();
read this article to learn how to work with mysql
https://www.w3schools.com/php/php_mysql_select.asp