URL Help

3 posts by 2 authors in: Forums > CMS Builder
Last Post: March 20, 2012   (RSS)

Re: [kcmedia] URL Help

By (Deleted User) - March 20, 2012

Hi kcmedia,

I think this should work:

<?php $hash = unserialize(file_get_contents("http://vimeo.com/api/v2/video/" . $home_pageRecord['number'] . ".php"));?>

You had already declared the beginning of the php script so you don't have to do it again when outputting the value of $home_pageRecord['number']. Instead, you break out of the string (beginning "http..." and insert the value using " . $variable . " - in the example I've left spaces around the periods to make it easier to read but you don't have to have them.

Hope this helps,

Tom

Re: [Tom P] URL Help

By KCMedia - March 20, 2012

Hi Tom

thanks works great.
Thanks



Craig

KC Media Solutions

www.kcmedia.biz