php get url after question mark code example Example: php get url after question mark echo $_SERVER['QUERY_STRING'];