html页面:
<input size="100" value="Error Message" name="error" id="error"></td>
插入.php:
$error=$_POST['$error'];
$sql="INSERT INTO $tbl_name(a, z, error, y, z)
VALUES('$a','$z','$error','$y','$x')";
$result=mysql_query($sql);
但是 SQL 结果是:
# mysql db_db -e "select * from tickets;"
+---+---+-----------+---------+--------------+
| a | z | error | y | x |
+---+---+-----------+---------+--------------+
| a | z | | y | x |
+---+---+-----------+---------+--------------+
我在这里想念什么?对不起格式。