我收到此错误:
Notice: Undefined index: action in update.php on line 39
第39行如下:
<?php
if($_REQUEST['action']=="update")
{
$query='update ckeditor_content set des="'.escape_string($_POST['ckeditor_content']).'" where id="'.escape_string($_POST['id']).'"';
mysqli_query($con,$query);
//echo $query;
header("location:../welcome_content/");
}
$query="select * from ckeditor_content where id=$_REQUEST[id]";
$row=mysqli_fetch_array(mysqli_query($con,$query));
?>
任何人都可以帮忙。我在这里停留了大约两个星期......