Is streamer online, JSON help: /users/zigenzag/follows/

Hey there,

I used the code from here to let the video embed based on the three names on top. However, when i enter this code into a php file and i let it include into my htmlpage it just doesn’t pop up and blocks anything that has to go under the phpinclude.

<?php $channels = array('towelliee','celplays','zoeksy') ; $callAPI = implode(",",$channels); $dataArray = json_decode(@file_get_contents('https://api.twitch.tv/kraken/streams?channel=' . $callAPI), true); foreach($dataArray['streams'] as $mydata){ if($mydata['_id'] != null){ $name = $mydata['channel']['display_name'];
            echo "<h4>".$name"</h4><iframe src='http://www.twitch.tv/" .$name "/embed' frameborder='0' scrolling='no' height='210' width='400' style=' -webkit-box-shadow: 0px 0px 5px 5px rgba(0, 0, 0, 0.75); -moz-box-shadow:0px 0px 5px 5px rgba(0, 0, 0, 0.75); box-shadow:0px 0px 5px 5px rgba(0, 0, 0, 0.75)'></iframe>";
                }else{
            echo "<p>Need to fill later</p>";
        }
  }

?>

                        <?php include("online.php"); ?>

The php file is indeed online.php but just doesn’t work.
Anyone ideas why?