prepare("UPDATE post SET tytul=?,opis=?,tekst=?,data_modyfikacji=? WHERE post_id=?;"); if ($sql) { $sql->bind_param("ssssi",$title,$meta_desc,$text,$mod_date,$post_id); $sql->execute(); $sql->close(); } $mysqli->close(); header ("Location: ./"); ?>