registrace v2 + checks

This commit is contained in:
Milan Toman
2024-02-28 01:10:02 +01:00
parent 103b9dee96
commit a111860d89
2 changed files with 61 additions and 16 deletions

View File

@@ -21,7 +21,7 @@
$races[] = $row;
}
}
// would be nice to check if the name / nick / email exists
// would be nice to check if the email exists
$sql = "SELECT ID, NAME, SURNAME, EMAIL from REGISTERED where EMAIL_CHECK like '".$email_check."'";
$result = $conn->query($sql);
if ($result->num_rows > 0){