mycode的:
if($_SERVER['REQUEST_METHOD'] == 'POST'){
if(isset($_POST['id_feuille']) && isset($_POST['nom_feuille']) ){
$id_feuille = $_POST['id_feuille'];
$nom_feuille = $_POST['nom_feuille'];
var_dump($id_feuille);
echo "<br>";
var_dump($nom_feuille);
$con = mysqli_connect("localhost","my_user","my_password","my_db");
$statement = mysqli_prepare($con, "**UPDATE Parametres SET id_feuille = ? AND nom_feuille = ? WHERE type = N**");
mysqli_stmt_bind_param($statement, "ss", $id_feuille,$nom_feuille); // Error is on this line
mysqli_stmt_execute($statement);
mysqli_stmt_close($statement);
}
}