php current query string code example Example: php get query string <?php echo $_GET["query_name"]; // url queries are stored in $_GET ?>