Correct syntax for php inside a feed request

Posted by Simon Hume on Stack Overflow See other posts from Stack Overflow or by Simon Hume
Published on 2010-03-26T13:00:12Z Indexed on 2010/03/26 13:03 UTC
Read the original article Hit count: 386

Filed under:
|
|

Hi guys,

I have a very basic query string which passes a ID to a receiving page.

On that page, I need to dynamically call the YouTube API, giving my playlistID.

I'm having to use PHP for this, and it's a little out of my comfort zone, so hopefully someone can wade in with a quick fix for me.

Here is my variable

$playlist;

And I need to replace the 77DC230FBBCE4D58 below with that variable.

$feedURL = 'http://gdata.youtube.com/feeds/api/playlists/77DC230FBBCE4D58?v=2';

Any help, as always, greatly appreciated!

© Stack Overflow or respective owner

Related posts about php

Related posts about Xml