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 29 30
| <?
include("include/connect.php");
$id = $_POST['id'];
$age = $_POST['age'];
$nomcopain = $_POST['nomcopain'];
$film = $_POST['film'];
$nbpart = $_POST['nbpart'];
$trompe = $_POST['trompe'];
$nbenfants = $_POST['nbenfants'];
$enfants = $_POST['enfants'];
$animal = $_POST['animal'];
$fantasme = $_POST['fantasme'];
$reve = $_POST['reve'];
$site = $_POST['site'];
$regarde = $_POST['regarde'];
$parfum = $_POST['parfum'];
$insolite = $_POST['insolite'];
$sousvet = $_POST['sousvet'];
$vacances = $_POST['vacances'];
$passer = $_POST['passer'];
$sport = $_POST['sport'];
$peau = $_POST['peau'];
$divers = $_POST['divers'];
mysql_query("UPDATE test_amour SET id='$id',age='$age',nomcopain='$nomcopain',film='$film',nbpart='$nbpart',trompe='$trompe',nbenfants='$nbenfants',enfants='$enfants',animal='$animal',fantasme='$fantasme',reve='$reve',site='$site',regarde='$regarde',parfum='$parfum',insolite='$insolite',sousvet='$sousvet',vacances='$vacances',passer='$passer',sport='$sport',peau='$peau',divers='$divers' WHERE id = '$id'") or die($sql . ' - ' . mysql_error());
// Fermeture de la connexion
mysql_close($db);
?> |
Partager