程序的意图是不是输入hhh显示1,否则显示2?
用POST的话 表单要method也要为post
判断的话用2个=
<?php
$ab='hhh';
if($ab==$_POST['aa'])
{
   echo "1";
}
else
{
   echo "2";
}
?>=============================
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>无标题文档 </title>
</head><body>
<form id="form1" name="form1" method="post" action="test.php">
   <label>
   <input name="aa" type="text" id="aa" />
   </label>
   <label>
   <input type="submit" name="Submit" value="提交" />
   </label>
</form>
</body>
</html>