<?php require_once('includes/requirecompere.inc.php'); require_once('includes/question.inc.php'); $qn_id=TGET('qn_id'); $mb_id=current_mb_id(); if (!$qn_id) return; $DBConn->connect(true); $dataset+=prepare_questionnaire_dataset($DBConn,$qn_id,array( 'mb_id'=>$mb_id, 'preview'=>true, 'entering'=>true, 'do_submit'=>true )); ?>