How to retrieve query string value from URL value stored in a variable?
- by user187580
Hello,
$url = 'http://www.domain.com/file.php?dir=r&hl=100,200&ord=3&key=a+b+c';
If it were a url I could get value of hl by, say, $_GET['hl']. but how do I retrieve the same from $url string.
Thanks.