@@ -20,7 +20,8 @@ if (isset($postData) && !empty($postData)) {
...
@@ -20,7 +20,8 @@ if (isset($postData) && !empty($postData)) {
];
];
mkdir('../users/'.$authData['username']);
mkdir('../users/'.$authData['username']);
$sql1="INSERT INTO userdata(username,n_files,img_url,n_attempts,correct_timeline,rating) VALUES ('$username',0,'https://bain.design/wp-content/uploads/2014/08/People-Avatar-Set-Rectangular-12.jpg',0,'[]',0)";