How do I parse URL GET data having the URL stored in a variable?

前端 未结 4 357
情书的邮戳
情书的邮戳 2021-01-27 09:19

I have an url stored in a variable such as:

$url = \'example.com?a=20&i=10\'

How do I get values stored in variable a and vari

4条回答
提交回复
热议问题