execute($sql); unset($sql); //add the domain_name as the context $sql = "UPDATE v_conferences as c "; $sql .= "SET conference_context = ( "; $sql .= " SELECT domain_name FROM v_domains as d "; $sql .= " WHERE d.domain_uuid = c.domain_uuid "; $sql .= ") "; $sql .= "WHERE conference_context is null; "; $database->execute($sql); unset($sql); } ?>