Phpparse_str () function, phpparse_str function. Phpparse_str () function, phpparse_str function phpparse_str () function parses the query string to a variable, mainly used for passing values (parameters) between pages ). This article introduces phppa php parse_str () function and phpparse_str function
The php parse_str () function parses the query string to a variable and is mainly used to pass values (parameters) between pages ). This article describes how to use the php parse_str () function. For more information, see.
Definition and usage
The parse_str () function parses the query string to a variable.
Note: if not setArrayParameter, the variable set by this function will overwrite the existing variable with the same name.
Note: The magic_quotes_gpc setting in the php. ini file affects the output of this function. If enabled, the variable will be converted by addslashes () before parse_str () resolution.
Syntax
parse_str(string,array)
| Parameters |
Description |
| String |
Required. Specifies the string to be parsed. |
| Array |
Optional. Specifies the name of the array that stores the variable. This parameter indicates that the variable will be stored in the array. |
Technical details
| Return value: |
No return value. |
| PHP version: |
4 + |
| Update Log: |
In PHP 4.0.3ArrayParameters. |
Instance
Store variables in the array:
Online operation
Address: http://www.manongjc.com/article/858.html
Related reading:
Php echo outputs one or more strings
Php print () function output print string
The php parse_str () function parses the passed parameter string to the variable.
The php ord () function obtains the ASCII value of the first character of a string.
The php number_format () function is used to format numbers by thousands of digits.
The php nl2br () function converts the line break in the string into a line break in HTML.
Php nl_langinfo () function to obtain local information
Http://www.bkjia.com/PHPjc/1127593.htmlwww.bkjia.comtruehttp://www.bkjia.com/PHPjc/1127593.htmlTechArticlephp parse_str () function, phpparse_str function php parse_str () function parses the query string to the variable, mainly used to pass values between pages (parameters ). This article introduces the php pa to coders...