I'm new to PHP (I'm migrating from ASP) and also to Pligg. I'm in need of a little help with something I believe it's not hard:
How do I check if the $url variable has an specific value and then extract what doesn't match?
Example: I have "http://youtube.com/watch?v=1234567" defined for $url. I want to strip just "http://youtube.com/watch?v=" so that the result is "1234567".
I intend to use it in the link_summary.tpl file so I can get the thumbnails from Youtube videos in a dynamic way.
Thanks in advance!