Exemple de page PHP

Affichage des données transmises par le formulaire

Lien vers le formulaire


Warning: Undefined array key "nom" in /home/jdarmont/www/docs/web/exemple_php.php on line 20

L'étudiant
Warning: Undefined array key "age" in /home/jdarmont/www/docs/web/exemple_php.php on line 21
( ans)
Warning: Undefined array key "annee" in /home/jdarmont/www/docs/web/exemple_php.php on line 22
est en
Warning: Undefined array key "fc" in /home/jdarmont/www/docs/web/exemple_php.php on line 23
(Formation continue = ).

Affichage de constantes

MA_CHAINE = Valeur de MA_CHAINE
PI = 3.14159265

Variables d'environnement

PHP_SELF = /jdarmont/docs/web/exemple_php.php
SERVER_NAME = eric.univ-lyon2.fr

Warning: Undefined array key "HTTP_REFERER" in /home/jdarmont/www/docs/web/exemple_php.php on line 38
HTTP_REFERER =
REMOTE_ADDR = 52.91.0.68

Connexion à une base de données : liste d'étudiants

Erreur : SQLSTATE[HY000] [1045] Access denied for user 'tutsql'@'localhost' (using password: YES)

Validation HTML 5

Cliquer ici pour vérifier la validité HTML 5 de la page.