% set_form_variables # user_id_from_search is the one we care about set db [ns_db gethandle] set domain_id [database_to_tcl_string $db "select contest_domain_id_sequence.nextval from dual"] ns_db releasehandle $db %> <%=[ad_header "Add New Contest"]%>