ob_start(); include('./getavatar.php?account=$post[userid]'); $getavatar = ob_get_contents(); ob_end_clean();