I have the following viemo url:
http://player.vimeo.com/video/5836196
How would I be able to get the last part of the url 5836196 using php?
I have the following viemo url:
http://player.vimeo.com/video/5836196
How would I be able to get the last part of the url 5836196 using php?
Try this one
$url='http://player.vimeo.com/video/5836196';
echo end(explode('/', $url));