请问为啥不能输出‘北京’呀!
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<body>
<?php
if($_POST['submit']){
$name=$_POST['ss'];
echo $name;
}
?>
<form id="form" enctype="multipart/form-data" action="" method="post">
<input type="hidden" name="ss" value"北京">
<input type="submit" name="submit" id="button" value="搜索" />
</form>
</body>
[解决办法]
and: value="北京"