מה אתה מנסה לעשות פה? לשנות נתונים או להכניס נתונים חדשים?
אם נתונים חדשים:
PHP קוד:
$sql = "INSERT INTO `books` (`bookname`, `reporter`, `maf`, `about`) VALUES ('$bookname' , '$reporter' , '$maf', '$about')";
mysql_query($sql) or die(mysql_error());
ואם עדכון נתונים:
PHP קוד:
$sql = "UPDATE books SET `bookname`='$bookname' and `reporter`='$reporter' and `maf`='$maf' and `about`='$about'";
mysql_query($sql) or die(mysql_error())
רק לגבי זה אני לא בטוח אם צריך את הand או לא.