$_GET 变量用于接收表单 method="get" 方式发送的表单信息。

PHP $_GET

$_GET 变量的数据结构同 $_POST 类似,也是一个关联数组,键名为表单元素的 name,用于收集以 HTTP GET 方式请求的数据。

表单 form.html:

<html>
<body>
<form name="commentform" method="get" action="comment.php">
<p>
称呼: <input type="text" name=&quo...