How can i search for a character in a string and save a variable with the text after that character?
<p>I have a string with the following content</p>

<pre><code>http://www.mysite.com/test.php?http://www.anotherwebsite.com
</code></pre>

<p>how can i save the second url in a php variable?</p>

<p>i mean, the url after the interrogation mark.</p>
