תנסה את זה
PHP קוד:
<?php
include "connect.php";
$id = $_POST["id"];
$en = $_POST["en"];
$he = $_POST["he"];
$art = $_POST["art"];
$year = $_POST["year"];
$size = $_POST["size"];
$up = $_POST["up"];
$cat = $_POST["cat"];
$list = $_POST["list"];
$note = $_POST["note"];
$link = $_POST["link"];
$pic = $_POST["pic"];
mysql_query("UPDATE `ds` set `en`='$en', `he`='$he' , `art`='$art' , `year`='$year' , `size`='$size' , `up`='$up' , `cat`='$cat' , `list`='$list' , `note`='$note' , `link`='$link' , `pic`='$pic' WHERE `id`=$id LIMIT 1") or die(mysql_error());
echo "<script>window.location=\"index.php\"</script>";
?>