$query = "UPDATE user SET name='boris' WHERE id=?";
$sqlSearch = $mysqli->prepare($query);
$sqlSearch->bind_param('s',$id);
$sqlSearch->execute();
<code>$query = "UPDATE user SET (name) VALUES('boris') WHERE id=?";
$sqlSearch = $mysqli->prepare($query);
$sqlSearch->bind_param('s', $id);
$sqlSearch->execute();</code>