1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28
| <html>
<head>
<title>Service Commerciale</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<link rel="stylesheet" media="screen" type="text/css" title="commerce2" href="commerce2.css" />
</head>
<body>
<?php
$ID = $_GET['ID'];
$Nom = $_GET['Nom'];
$Prenom = $_GET['Prenom'];
$Société = $_GET['Société'];
$adresse = $_GET['adresse'];
$ville = $_GET['ville'];
$pays = $_GET['pays'];
$age = $_GET['age'];
mysql_connect("localhost", "root", "");
mysql_select_db("contacts");
mysql_queryl("UPDATE contacts SET Nom ='$Nom', Prenom = '$Prenom',Société ='$Société' adresse ='$adresse', ville ='$ville',pays ='$pays',age='$age' WHERE ID='$ID'");
mysql_close();
?>
<form action = "liste contact.php">
<p align = "center"> Les modifications ont été faite avec succès!!<br><a href="liste contact.php"><input type="SUBMIT" value="Retour"></p>
</form>
</body>
</html> |