=0){ mysqli_data_seek($res,$row); $resrow = (is_numeric($col)) ? mysqli_fetch_row($res) : mysqli_fetch_assoc($res); if (isset($resrow[$col])){ return $resrow[$col]; } } return false; } ?> <?php echo $title ?>

$sondage_nom

$sondage_description

" ?>
"; } $question = "
$question
$question_select
"; } else if($question_type == 2) { //Question ouverte $question = "
$question
"; } else if($question_type == 3) { //Rating 1-5 $checked_1 = ""; $checked_2 = ""; $checked_3 = ""; $checked_4 = ""; $checked_5 = ""; if($reponse == 1) { $checked_1 = "checked='checked'"; } else if($reponse == 2) { $checked_2 = "checked='checked'"; } else if($reponse == 3) { $checked_3 = "checked='checked'"; } else if($reponse == 4) { $checked_4 = "checked='checked'"; } else if($reponse == 5) { $checked_5 = "checked='checked'"; } else { $checked_5 = "checked='checked'"; } $question = "

$question

"; } echo "

$question
"; } ?>