$_get pgp code example
Example 1: $_GET["name"]
<?php
echo 'Hello ' . htmlspecialchars($_GET["name"]) . '!';
?>
Example 2: php get
<form action="/" method="get">
<input type="text" name="name">
<br>
<input type="submit">
</form>
<?php
echo $_GET["query"];
?>