I have to make a loop from number 1 to the last line + echo,
How can this be done?
$api = file_get_contents($url);
$api = json_decode($api, true);
foreach.. // i need to loop from 1 - until the last
echo $api['available_channels']['1']["live"] .";
}