getting parameter from url and passing it to GET method with pgp code example
Example: php get
<form action="/" method="get">
<input type="text" name="name">
<br>
<input type="submit">
</form>
<?php
echo $_GET["query"];
?>
<form action="/" method="get">
<input type="text" name="name">
<br>
<input type="submit">
</form>
<?php
echo $_GET["query"];
?>