prepare('SELECT * FROM sondage WHERE admin_poll_id = ?'); $prepared->execute(array($admin_poll_id)); $poll = $prepared->fetch(); $prepared->closeCursor(); $prepared = $connect->prepare('SELECT * FROM sujet_studs WHERE id_sondage = ?'); $prepared->execute(array($poll_id)); $sujets = $prepared->fetchAll(); $prepared = $connect->prepare('SELECT * FROM user_studs WHERE id_sondage = ? order by id_users'); $prepared->execute(array($poll_id)); $users = $prepared->fetchAll(); } //verification de l'existence du sondage, s'il n'existe pas on met une page d'erreur if (!$poll || !$sujets) { 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 . '