if ($user['userid'] == XX) { $user['musername'] = '<img src="image.png" height="18px" border="0" />'; }