我在 前台 编写了这个填写 页面 ,这是个htm 格式。
<html>
<head>
<meta http-equiv="Content-Language" content="zh-tw">
<meta http-equiv="Content-Type" content="text/html; charset=big5">
<title>留言板</title>
</head>
<body>
<form method="POST" action="www1.php">
<p>你的姓名:<input type="text" name="name" size="20"</p>
<p>你的性别:<input type="radio" value="1" name="sex" checked>男 <input type="radio" value="0" name="sex">女</p>
<p>你的email:<input type="text" name="email" size="20"></p>
<p>你的留言内容:</p>
<p><textarea rows="9" name="info" cols="35"> </textarea></p>
<p><input type="submit" value="提交" name="B1"><input type="reset" value="重新设定" name="B2"></p>
</form>
</body>
</html>
这个也页面是 php格式 。
<?
echo $name;
echo $email;
echo $sex;
echo $info;
?>
程序 应该是 在 htm里面点击 提交 把里面的填写的内容显示在 php页面里。可是为什么会显示 php里面有没有定义的 东东 。。 谢谢 帮我解决下
提示php程序编写错误 ,为什么呢 谁能帮我解决下 谢谢了 !!!