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