В чём ошибка записи пользователя в бд?
$steamid = $steamprofile['steamid'];
$nickname = $steamprofile['personaname'];
$current_date = date("l dS of F Y h:i:s A");
$query = "INSERT INTO users (steamid, nickname, joined, balance, totalBought, banned, admin) VALUES ('$steamid', '$nickname', '$current_date', '0', '0', '0', '0') ON DUPLICATE KEY UPDAYE nickname = '$nickname'";
$userInfo = mysqli_query($connect, $query);
Ошибку не выводит.
Вот phpMyAdmin:
https://gyazo.com/dc0c1fd3053d01fec6d4f97790e48a08