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