Kimonlabs JSON Code
$json_string = file_get_contents("http://www.kimonolabs.com/api/e45oypq8?apikey=XXX"); $parsed_json = json_decode($json_string); //var_dump($parsed_json->results->collection1); foreach($parsed_json->results->collection1 as $collection){ echo $collection->title->text . ''; echo $collection->title->href . ''; echo $collection->posted . ''; }
PHP Redirect Code
header( 'Location: http://www.yoursite.com/new_page.html' ) ;
I'd like to replace
http://www.yoursite.com/new_page.htmlwith
$collection->title->href
But I've no idea how to merge the two.