请看下面两章代码:<form action="second.php" method="post" name="form1">
<p>图书名称:<input type="text" name="username" /></p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;作者:<input type="password" name="passwd" /></p>
<p ><input type="submit" value="提交"/></p>
</form>
<?php
while(list($name,$value)=each($_POST)){if($name!="submit"){
echo $name."为".$value."<br/>";
}
}
?><form action="second.php" method="post" name="form1">
<p>图书名称:<input type="text" name="username" /></p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;作者:<input type="password" name="passwd" /></p>
<p ><input type="submit" value="提交"/></p>
</form>
<?php
while(list($name,$value)=each($_POST)){
echo $name."为".$value."<br/>";
}
?>
这两个输出的值一样  
那加if($name!="submit") 有什么作用 
可以不加吗