高手指点我为何获取不到表单的信息呢?在线等哦
if($submit=="提交"){
$username=$_post[username];
$password=$_post[password];
}
?>
<?php $submit=$_POST['submit'];if($submit=="提交"){ $username=$_POST['username']; $password=$_POST['password']; <br /> <br> <br> echo "管理员:$username" ; //注意后面的分号<br> <br> <br>echo "密 码:$password" ;}?>