Hello ! I came across a problem here and there are already similar solutions on the forum, but they did not help me, so I need to check for the login in the SQL table. Code: For variables that do not exist, do not pay attention, I cut the code.
elseif(isset($_POST["login"])) { $login = $_POST["login"]; $password = $_POST["password"]; $email = $_POST["email"]; mysqli_query($mysql_con, "INSERT INTO `users` (`id`, `login`, `password`, `email`, `IP`, `Browser`, `Date`, `City`) VALUES ('', '$login', '$password', '$email', '$ipaddress', '$browser', '$Date', '$result');"); As I saw on the forum there is a solution like
SELECT 'login' FROM 'users' WHERE' login '= "$ login';
But I do not quite understand, please tell me