Answer the question
In order to leave comments, you need to log in
Not registering a user?
Does not register the user on the site. I'm doing a very simple blog (just for myself). I made a simple check for empty input and proceed to registration, but it does not register me. Here is the code. Doesn't see any errors. The user does not appear in the database
$data = $_POST;
mysqli_query($db_connect, "INSERT INTO `users` (`name`, `pass`) VALUES ('". $data["login"]."','" . $data["password"] ."'");
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question