php get query string from url code example
Example 1: php get query string
<?php
echo $_GET["query_name"]; // url queries are stored in $_GET
?>
Example 2: php get
<form action="/" method="get">
<input type="text" name="name">
<br>
<input type="submit">
</form>
<?php
echo $_GET["query"];
?>