update fix
This commit is contained in:
parent
96e6bc8356
commit
60a015db8f
@ -15,7 +15,7 @@ $mod_date=date("Y-m-d H:i:s");
|
|||||||
$sql = $mysqli->prepare("UPDATE post SET tytul=?,opis=?,tekst=?,data_modyfikacji=? WHERE post_id=?;");
|
$sql = $mysqli->prepare("UPDATE post SET tytul=?,opis=?,tekst=?,data_modyfikacji=? WHERE post_id=?;");
|
||||||
if ($sql)
|
if ($sql)
|
||||||
{
|
{
|
||||||
$sql->bind_param("isssi",$title,$meta_desc,$text,$mod_date,$post_id);
|
$sql->bind_param("ssssi",$title,$meta_desc,$text,$mod_date,$post_id);
|
||||||
$sql->execute();
|
$sql->execute();
|
||||||
$sql->close();
|
$sql->close();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user