$query = 'Id=6528537&CCode=250&Fild1=&Fild2=&Fild3=&HeshASM=0';
parse_str($query, $output);
echo '<pre>';
print_r($output);
echo '</pre>';
/*
Array
(
[Id] => 6528537
[CCode] => 250
[Fild1] =>
[Fild2] =>
[Fild3] =>
[HeshASM] => 0
)
*/
More Related Contents:
- Array Comparision with a string PHP
- “Notice: Undefined variable”, “Notice: Undefined index”, “Warning: Undefined array key”, and “Notice: Undefined offset” using PHP
- Parse query string into an array
- How to group subarrays by a column value?
- Performance of FOR vs FOREACH in PHP
- Sorting an associative array in PHP [duplicate]
- Convert backslash-delimited string into an associative array
- php stdClass to array
- Preserve key order (stable sort) when sorting with PHP’s uasort
- Fatal error: Cannot use object of type mysqli_result [closed]
- PHP: Sort an array by the length of its values?
- Return index of highest value in an array
- Group array by subarray values
- Remove all elements from array that do not start with a certain string
- How do I count occurrence of duplicate items in array [duplicate]
- Recursively remove empty elements and subarrays from a multi-dimensional array
- How to convert an array into an object using stdClass() [duplicate]
- PHP remove duplicate values from multidimensional array
- scandir() to sort by date modified
- Print the keys of an array
- Parse error: Invalid numeric literal
- Notice: Undefined index when trying to increment an associative array in PHP
- PHP – Get key name of array value
- Group 2d array data using column value to create a 3d array
- While destructuring an array, can the same element value be accessed more than once?
- Remove unwanted elements from subarrays in multidimensional array
- How to convert array to a string using methods other than JSON?
- How to set an option from multiple options or array with different values to views as selected in select box using PHP
- Array size limit in PHP
- How are associative arrays implemented in PHP?