Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

php get query params

// http://www.example.com/page.php?x=100&y=200
$queries = array();
parse_str($_SERVER['QUERY_STRING'], $queries);
echo $queries['x']; // 100
echo $queries['y']; // 200
 
PREVIOUS NEXT
Tagged: #php #query #params
ADD COMMENT
Topic
Name
1+8 =