<!DOCTYPE html>
<html>
<head>
<title></title>
</head>
<body>
<form method="get" action="">
<input>
<input>
<input type="submit" value="tijiao">
</form>
</body>
</html>
<?php
if($_GET){
var_dump($_GET);
}
<!DOCTYPE html>
<html>
<head>
<title></title>
</head>
<body>
<form method="get" action="">
<input>
<input>
<input type="submit" value="tijiao">
</form>
</body>
</html>
<?php
if($_GET){
var_dump($_GET);
}
<!DOCTYPE html>
<html>
<head>
<title></title>
</head>
<body>
<form method="get" action="">
<input type="text" name="vi">
<input type="submit" value="tijiao">
</form>
</body>
</html>
<?php
if($_GET){
var_dump($_GET);
}
1 回答4.1k 阅读✓ 已解决
3 回答1.9k 阅读✓ 已解决
2 回答2.2k 阅读✓ 已解决
4 回答2.2k 阅读
3 回答2.1k 阅读
2 回答985 阅读✓ 已解决
1 回答1.4k 阅读✓ 已解决
哥,你的表单连name属性都没有,肯定接收不到数据啦