I have the following string:
address=test&address2=test2&email=a@a.com
How can I extract the keys (address, address2, email) and values ("test", "test2", "a@a.com")
Thank you!
I have the following string:
address=test&address2=test2&email=a@a.com
How can I extract the keys (address, address2, email) and values ("test", "test2", "a@a.com")
Thank you!
收起
Use parse_str()
http://pl.php.net/manual/en/function.parse-str.php
报告相同问题?