<?php
$video[0] = Array (
'id' => 100,
'seodes' => '',
'album_id' => 1052,
'title' =>'The Crew, description => The Crew, Cars game, Gameplay гоночная игра',
'pubdate' => '2014-04-23 04:36:35',
'file' =>'',
'published' => 0,
'hits' => 0,
'showdate' => 1,
'comments' => 1,
'user_id' => 1,
'owner' => 'videos',
'rating' => 0,
'image' => '/images/video/1102ff1a56c7bc4b5aa81381053c874a.jpg, video => http://www.youtube.com/embed/7ycd4oTQgQQ',
'keywords' => 'The Crew, Cars game, Gameplay trailer, Next-Gen, MMO, Xbox one racing game, гонки, гоночная игра, Xbox one driving game, Xbox one car game, PS4 racing game, ...',
'date' => '2014-04-13',
'cat_id' => 1053,
'author' =>'');
$video[1] = Array (
'id' => 105,
'seodes' => '',
'album_id' => 0,
'title' => 'The Last of Us',
'description' => 'NEW The Last of Us Gameplay Walkthrough Part 1 includes Chapter 1 of the Story',
'pubdate' => '2014-04-23 03:17:25',
'file' => '',
'published' => 0,
'hits' => 0,
'showdate' => 1,
'comments' => 1,
'user_id' => 1,
'owner' => 'videos',
'rating' => 0,
'image' => '/images/video/52f34bbad4ef25ae4df9f8000961e100.jpg',
'video' => 'http://www.youtube.com/embed/HawhjjF5qFc',
'keywords' => 'The Last of Us, Last of Us, Gameplay, Walkthrough, The Last of Us Gameplay, The Last of Us Walkthrough Part 1, The Last of Us Part 1, Review, Ending, Playthr...',
'date' => '2014-04-12',
'cat_id' => '1052',
'author' => '');
$video[2] = Array (
'id' => 131,
'seodes' => '',
'album_id' => 0,
'title' => 'Simon feat. Snoop Dogg - Uzbagoisya (Узбагойся)',
'description' => 'Simon feat. Snoop Dogg - Uzbagoisya (Узбагойся)',
'pubdate' => '2014-04-22 12:51:14',
'file' =>'',
'published' => 0,
'hits' => 0,
'showdate' => 1,
'comments' => 1,
'user_id' => 1,
'owner' => 'videos',
'rating' => 0,
'image' => '/images/video/940331dfacb0b94610d86d5dd577c4c1.jpg',
'video' => 'http://rutube.ru/video/embed/6925499',
'keywords' =>'',
'date' => '2014-04-17',
'cat_id' => 1052,
'author' =>'' );
foreach ($video as $value) {
$vid[] = $value['id']; //запишет все id в массив
$seodes[] = $value['seodes']; //запишет все seodes в массив
$album_id[] = $value['album_id']; //запишет все album_id в массив
}
print_r($vid);
print_r($seodes);
print_r($album_id);
?>
выводит
Array ( [0] => 100 [1] => 105 [2] => 131 )
Array ( [0] => [1] => [2] => )
Array ( [0] => 1052 [1] => 0 [2] => 0 )
_____________
Прошу критиковать, если что-то не так.