Fixed mysql_result on page and profile.