意思是
$_POST[first];是使用HTTP POST 方法所提交的任何值。

解决方案 »

  1.   

    $_POST[first]=$_POST['first']=$_POST["first"]
      

  2.   

    在字串中引用数组变量必须用{ }引起来.
    "INSERT INTO news (new_id) VALUES ('{$_POST['first']}')";
      

  3.   

    $_POST[first];这种用法不推荐使用。$_POST['first'];$_POST["first"];
      

  4.   

    INSERT INTO news (new_id) VALUES (' ')本身是SQL语句不必多考虑.$_POST[first]实际上就是$_POST["first"]或$_POST['first']
    由于是在字符串中,故要写成$_POST[first]