This question already has an answer here:
$stmt = $db->prepare('UPDATE blog set entrytitle = ?,blogentry = ? where id = ?')
$stmt->bind_param("ssi", $entrytitle,$blogentry,$id);
The error is from the second line but I get the feeling it's being caused by the UPDATE query.
DB columns for the items are:
entrytitle is varchar(65) blogentry is longtext id is int(11)
</div>