$sid = _addslashes($_SESSION['survey_id']);
$sql = "SELECT COUNT(*) FROM ".$GLOBALS['ESPCONFIG']['question_table']." WHERE survey_id=${sid}
AND deleted='N' AND type_id='99'";
$result = execute_sql($sql);
$num_sections = 1 + $result->fields[0];
db_close($result);
if(empty($_POST['section']))
$_POST['section']=1;
?>
Finish at the bottom of
this page.')); ?>
1) { ?>
:
| 1) { # echo(' '); # } # echo (' '); # } # if($_POST['section'] != $num_sections) { # echo(' '); # } else { # echo(''); # } ?> |