Programmers help, please. I do not know why, but the record is not added to the table. Errors are not displayed. The variable sha_password, which is not shown here, is present.
$nameDb = "id6118892_about_users"; $host = "localhost"; $password = "---"; $userName = "id6118892_hasker_kek"; $connection = mysqli_connect($host, $userName, $password); if(!connection) { die("Ошибка соединения." . mysqli_error()); } mysqli_select_db($nameDb); $query = mysqli_query("INSERT INTO `users` (telephone,password,about_user) VALUES ('$telephone','$sha_password','info')"); if(!query) { die("Неверный запрос."); }
users(telephone, password, about_user) VALUES ('$ telephone', '$ sha_password', 'info')"; and show the conclusion - madfan41kusers(telephone, about_user) If done via var_dump ($ query), then NULL is output. - Yegor Korotsevmysqliand smoke a list of arguments, but this is difficult. - u_mulder