 $stmt = $con->prepare("UPDATE products SET title=?, desc0=?, content=?,  category=? WHERE id=?");  $stmt->bind_param("sssss", $title, $desc0, $content,  $category, $id); } if($stmt->execute()){ header('location:edit-source.php'); }else{ echo "Failed to update product<br/>"; } } ?>  A