// if the type is a pagebreak we are finished loading the questions for this page
// if the type is a pagebreak we are finished loading the questions for this page
@ -158,7 +158,6 @@ else
}
}
}
}
}
}
// selecting the maximum number of pages
// selecting the maximum number of pages
$sql = "SELECT * FROM $table_survey_question WHERE type='".Database::escape_string('pagebreak')."' AND survey_id='".Database::escape_string($_GET[survey_id])."'";
$sql = "SELECT * FROM $table_survey_question WHERE type='".Database::escape_string('pagebreak')."' AND survey_id='".Database::escape_string($_GET[survey_id])."'";