Thank you very much for your help Fugiman!
I will include the code bits I used to get the data from the API in case others have this issue…
$channels = array('Stream1','Stream2','Stream3') ;
$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'];
$game = $mydata['channel']['game'];
$url = $mydata['channel']['url'];
echo "<a href=\"$url\">" . $name . $game . "</a>";
}
}
For anyone wondering the backslashes ( \ ) before the quotation marks ( " ) makes php ignore the quotes programmed meaning and just include them in the “echo” command.