<div class="listing_element info_pro">
<p class="pro_title">Country</p>
<div class="sub_text text_small pro_text"><?php echo countryFlag($user['country']); ?></div>
</div>
with the above code I was trying to add Country flag into a profile page, I have succeeded somehow but the code shows the path of the flag. I want to have it shown as an image.