如何在php中通过url提交值

gan*_*jan 1 php variables post get

我在我的php网站上试过这个 <a href=?command=value>click here</a>

这是为了获得价值:

if(isset($_POST['command'])){

        $command=strip_tags($_GET['command']);
Run Code Online (Sandbox Code Playgroud)

似乎没有工作.. Ps.网址也有一个这个值:?lang=en_US

Ham*_*ari 6

$_GET而不是$_POST.并且还在href属性值周围加上双引号.