<!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);
}
2 回答2.5k 阅读✓ 已解决
3 回答2.3k 阅读
2 回答1.1k 阅读✓ 已解决
2 回答1.2k 阅读✓ 已解决
2 回答1.2k 阅读✓ 已解决
1 回答1.6k 阅读✓ 已解决
4 回答1.1k 阅读
哥,你的表单连name属性都没有,肯定接收不到数据啦