id,$_REQUEST['instance']); Preference::update('play_type',$GLOBALS['user']->id,$type); break; default: $results['rfc3514'] = '0x1'; break; } // switch on action; // We always do this echo xml_from_array($results); ?>