parse_query_string

This function is used to parse a query string.

PARSE_QUERY_STRING

NAME

parse_query_string - This function is used to parse a query string.

SYNOPSIS

parse_query_string("query_string")

DESCRIPTION

This function is to parse a query string and return each parameters. The parameters are decoded according to <a class="ulink" href="http://en.wikipedia.org/wiki/Percent-encoding" target="_top">http://en.wikipedia.org/wiki/Percent-encoding</a> for application/x-www-form-urlencoded type.

RETURN

array
An associative array of each parameters

EXAMPLES

Note: In the followings examples, the _ between the { should be removed to make it work.

res={_{parse_query_string('a1=123&b12=1234');}} return res={"a1":"123","b12":"1234"}.

SEE ALSO

AUTHOR

Written by Pierre Laplante and Caroline Laplante, <laplante@sednove.com>

MODIFICATIONS

1.0 2014-09-09 21:24:14 laplante@sednove.com

Edit

© 2024 extenso Inc. All rights reserved.