这个提交以后出现的怎么解决
Variable syst�me 'name' inconnue 按上面的写下来 print_r($_post)没事 ,但是加了if语句之后就出现这个是什么原因
Variable syst�me 'name' inconnue 按上面的写下来 print_r($_post)没事 ,但是加了if语句之后就出现这个是什么原因
2017-02-28
<?php
require_once('../connect.php');
//把传递过来的信息入库,在入库之前进行效验。
if(!(isset($_POST['title'])&&(!empty($_POST['title'])))){
echo mysql_error();
echo "<script> alert('标题不能为空');window.location.href='article.add.php'";
};
$title = $_POST['title'];
$author = $_POST['author'];
$description = $_POST['description'];
$content = $_POST['content'];
?>
举报