- 01
- 02
- 03
- 04
- 05
- 06
- 07
- 08
- 09
- 10
- 11
- 12
- 13
function get_avatar($id){
$mysqli = connectDB();
$avatar_get = $mysqli->query("SELECT `avatar` FROM `users` WHERE `id`='$id'");
$line = $result_set->fetch_assoc();
closeDB($mysqli);
return $line["avatar"];
}