Seems like $row["linklabel"]
already contains the whole <img>
tag, just change
$avatar = "<img src='" . $row["linklabel"] . "' height='160' width='160'/>";
into
$avatar = $row["linklabel"];
UPDATE
If you're seeing the actual tag in your webpage, you need to also decode the image tag using html_entity_decode()
, like so:
$avatar = html_entity_decode($row["linklabel"]);