$foo) { if ($i > 0) echo ""; ?> $foo) { if ($notification_settings = get_user_notification_settings($vars['user']->guid)) { if ($notification_settings->$method) { $personalchecked[$method] = 'checked="checked"'; } else { $personalchecked[$method] = ''; } } if ($i > 0) $fields .= ""; $fields .= <<< END END; $i++; } echo $fields; ?>