if $url = 'http://yalumalu.com/watch_video.php?v=UXNWH2YA43RU'; is my url,
how to get value in the parameter "V=" ?
I tried using explode url but it returns an empty value? hlp me...
if $url = 'http://yalumalu.com/watch_video.php?v=UXNWH2YA43RU'; is my url,
how to get value in the parameter "V=" ?
I tried using explode url but it returns an empty value? hlp me...
Edited to consider @Brad suggestion
$pos = strpos($url,'?') + 1;
parse_str(substr($url,$pos),$arg);
echo $arg['v'];