费了一下午功夫也没好一个函数,
如下$e="biid=20120&dat1=20120912";想得到20120和20120912 这两个子串,希望能从高手得到正解,最好是函数形式,不用正则看不懂,呵呵。
谢谢大家和帮主。急!!!
------解决方案--------------------
这样能看懂吧
- PHP code
$e = "biid=20120&dat1=20120912";parse_str($e, $a);print_r($a);
$e = "biid=20120&dat1=20120912";parse_str($e, $a);print_r($a);