开发者

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

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜