Cli*_*n J 0 html php forms get
所以我在我的页面上有这个代码:
<form method="get" action="client_specific_task.php">
<input type="hidden" value="x" />
<input type="submit" value="Add Client-Specific Task">
</form>
Run Code Online (Sandbox Code Playgroud)
client_specific_task.php具有以下内容:
IF (!$_GET) {
ECHO '<html><head><title>Compliance</title></head><body><h1>Error - return home</h1></body></html>';
die();
}
Run Code Online (Sandbox Code Playgroud)
我不断收到错误 - 返回主页消息.
我已经在其他页面上完成了这一百万次,不知道为什么这次不工作 - 我错过了一些明显的东西吗?
谢谢大家的帮助和建议!