j’espère que vous me trouviez une solution .
je suis encore une débutante
voici mon code:
<?php
$hote="localhost";
$user="root";
$motdepas="";
$connection= @mysql_connect($hote,$user,$motdepas) or
die('Impossible de se connecter au serveur MySQL');
$nomdelabase="fmpf";
mysql_select_db(fmpf,$connection);
$id = $_GET["id"];
mysql_query("ALTER from resident where id = ".$id );
header('location:affich_adminresid.php');
?>