$profilefield[value]=$userinfo[$profilefieldname];
if ($userinfo[$profilefieldname]=='') { $profilefield[value]="N/A"; } else { $profilefield[value]=$userinfo[$profilefieldname]; }