Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $chandet = channeldetails(12567);
- print_r($chandet);
- foreach ((array) $chandet as $det) {
- echo $det . "<br>";
- echo "<br>";
- echo "<br>";
- echo "<br>";
- echo "<br>";
- echo "<br>";
- print_r($det);
- // exibit 2 for this print-r output
- foreach ((array) $det['videos'] as $ails) {
- foreach ((array) $ails as $value) {
- echo $value . "<br>";
- }
- }
- }
- [videos] => Array
- (
- [0] => Array
- (
- [channel_video_id] => 3433
- [channel_id] => 342333
- [video] => pathtofile/something.mp4
- [start] => 0
- [length] => -1
- [sort_order] => 0
- [is_ad] => 0
- )
- [1] => Array
- (
- [channel_video_id] => 2364
- [channel_id] => 342333
- [video] => pathtofile/something.mp4
- [start] => 0
- [length] => -1
- [sort_order] => 1
- [is_ad] => 0
- )
- )
- )
Add Comment
Please, Sign In to add comment