<?php require_once('includes/question.inc.php'); $qn_id=TGET('qn_id'); $nexturl=TGET('nexturl'); $DBConn->connect(true); $dataset['nexturl']=$nexturl; $dataset+=prepare_questionnaire_dataset($DBConn,$qn_id,array( 'entering'=>true, 'do_submit'=>!$nexturl, 'do_transfer'=>1 && $nexturl )); ?>