Jump to the post that solved this thread.
Not Solved Get the url of a users avatar given their uid or username?
#4
Not Solved
$query = $db->simple_select("users", "avatar", "uid=$uid");
$avatarurl = $db->fetch_field($query, "avatar");

Note that avatars don't use a full path url when uploaded;, they use a relative path.
Reply
Jump to the post that solved this thread.


Messages In This Thread
RE: Get the url of a users avatar given their uid or username? - by dragonexpert - 2017-01-10, 10:35 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)