echo "<table><tr><td>"; if ($userdata['user_avatar'] != "") { <img border='0' src='".BASEDIR."images/avatars/".$userdata['user_avatar']."'> } else { <img border='0' src='".BASEDIR."images/avatars/noav.gif'> } echo "</td></tr></table>";