Param('numsondageadmin'); $sql = $connect->Prepare($sql); $sondage = $connect->Execute($sql, array($numsondageadmin)); if ($sondage !== false) { $sql = 'SELECT * FROM sujet_studs WHERE id_sondage = '.$connect->Param('numsondage'); $sql = $connect->Prepare($sql); $sujets = $connect->Execute($sql, array($numsondage)); $sql = 'SELECT * FROM user_studs WHERE id_sondage = '.$connect->Param('numsondage').' ORDER BY id_users'; $sql = $connect->Prepare($sql); $user_studs = $connect->Execute($sql, array($numsondage)); } } //verification de l'existence du sondage, s'il n'existe pas on met une page d'erreur if (!$sondage || $sondage->RecordCount() != 1){ Utils::print_header( _("Error!")); bandeau_titre(_("Error!")); echo '
' . _('Back to the homepage of ') . ' ' . NOMAPPLICATION . '
' . _('Back to the homepage of ') . ' ' . NOMAPPLICATION . '
' . _('Back to the homepage of ') . ' ' . NOMAPPLICATION . '