How do I parse URL GET data having the URL stored in a variable?
<p>I have an url stored in a variable such as:</p>

<pre><code>$url = 'example.com?a=20&amp;i=10'
</code></pre>

<p>How do I get values stored in variable <code>a</code> and variable <code>i</code>? Is there a short way to do this?</p>
