php语句不能更新数据使用了FCKeditor编辑器
php语句不能更新数据使用了FCKeditor编辑器
日期:2011-12-17 05:18:07 人气:1
<?php
if($_POST['submit']){
$sql = "update cangkutext set text='$_POST[text]' where id=1";
echo $sql;
die();
$query=mysql_query($sql);
?>
alert("数据修改成功!!");location.href="cangkuxiugai.php";
把这段改成这样。。