How to convert a urlcode in array in php?
I hope you can help me;
How to convert a urlcode in array in php?
example:
$Urlcode = 'name=luiz&cou开发者_StackOverflow中文版ntry=Brazil&city=patrociniomg';
I need to transform this $Urlcode in array, in PHP, anyone know?
Thanks to everyone now
parse_str
http://www.php.net/manual/en/function.parse-str.php
use parse_str(), it does exactly what you want
http://www.php.net/manual/en/function.parse-str.php
精彩评论