<?php require_once('includes/requirecompere.inc.php'); require_once('includes/requirepost.inc.php'); $mb_id=current_mb_id(); $comperebasic['cp_name']=TPOST('cp_name'); $comperebasic['cp_timezone']=TPOST('cp_timezone'); $compereinfo=TPOST('compere_info'); $DBConn->connect(); $DBConn->begin(true); db_set_compere($DBConn,$mb_id,$comperebasic); db_save_compere_info($DBConn,$mb_id,$compereinfo); $DBConn->commit(); get_compere_info_requested($DBConn,$mb_id,true); redirect("qx-cmd-compere.info.edit-op-saved.ok.html"); ?>