Mise à jour d'une fiche faite........ !
$REFERENCE=($_POST['REFERENCE']);?>
$NOM=($_POST['NOM']);?>
$NOM=(strtoupper($NOM));?>
$PRENOM=($_POST['PRENOM']);?>
$PRENOM=(strtolower($PRENOM));?>
$PRENOM=(ucwords($PRENOM));?>
$ADRESSE=($_POST['ADRESSE']);?>
$CODEPOSTAL=($_POST['CODEPOSTAL']);?>
$VILLE=($_POST['VILLE']);?>
$VILLE=(strtoupper($VILLE));?>
$PAYS=($_POST['PAYS']);?>
$PAYS=(strtolower($PAYS));?>
$PAYS=(ucwords($PAYS));?>
$TELFIX=($_POST['TELFIX']);?>
$TELMOB=($_POST['TELMOB']);?>
$TELFAX=($_POST['TELFAX']);?>
$EMAIL=($_POST['EMAIL']);?>
mysql_connect("localhost", "root", "js15ad60"); // Connexion à MySQL
mysql_select_db("orbex");
mysql_query("REPLACE INTO Repertoire VALUES ('$REFERENCE','$NOM','$PRENOM','$ADRESSE','$CODEPOSTAL','$VILLE','$PAYS','$TELFIX','$TELMOB','$TELFAX','$EMAIL')");
mysql_close(); // Déconnexion de MySQL
?>