I am doing it fine for another part of the source code, but this one I'm having difficulty with because of the ' marks in the code.
http://www.youtube.com/watch?v=GibLntdLiJA
View the source, I need to grab whatever is in:
So I need to grab Dizzee Rascal - Dance Wiv Me from this code..'VIDEO_TITLE': 'Dizzee Rascal - Dance Wiv Me',
I'm doing it like this... it seems to work, is it ok doing it like that?PHP Code:preg_match('!.*?\'VIDEO_TITLE\': \'(.*?)\'!', $page, $matches);
$title_text = $matches[1];





Bookmarks