Vielen Dank für Eure Antworten.
Unserializen geht klar. Dann erhalte ich folgendes:
Code:
array (
'total-count' => 56,
'items' =>
array (
0 =>
array (
'id' => '18b4511935774dabc6ecfcf3e3561ad0',
'timestamp_starts' => 1276264800,
'status' => 'finished',
'score' => '1 - 1',
'contest' =>
array (
'value' => 'wc_2010',
'text' => 'World Cup 2010',
),
'teams' =>
array (
'hosts' => 'South Africa',
'guests' => 'Mexico',
),
),
1 =>
array (
'id' => 'bfe192b9aba1e371120517daac5bf0eb',
'timestamp_starts' => 1276281000,
'status' => 'finished',
'score' => '0 - 0',
'contest' =>
array (
'value' => 'wc_2010',
'text' => 'World Cup 2010',
),
'teams' =>
array (
'hosts' => 'Uruguay',
'guests' => 'France',
),
),
2 =>
array (
'id' => '82c7f19b671b4fc2229da74767bdb6ca',
'timestamp_starts' => 1276342200,
'status' => 'finished',
'score' => '2 - 0',
'contest' =>
array (
'value' => 'wc_2010',
'text' => 'World Cup 2010',
),
'teams' =>
array (
'hosts' => 'South Korea',
'guests' => 'Greece',
),
),
3 =>
array (
'id' => '7c9fe8893bc8f3ff0a8aaee12f85f566',
'timestamp_starts' => 1276351200,
'status' => 'finished',
'score' => '1 - 0',
'contest' =>
array (
'value' => 'wc_2010',
'text' => 'World Cup 2010',
),
'teams' =>
array (
'hosts' => 'Argentina',
'guests' => 'Nigeria',
),
),
4 =>
array (
'id' => '74bba37bf12d6a4ba5d7e0c5b97bac6f',
'timestamp_starts' => 1276367400,
'status' => 'finished',
'score' => '1 - 1',
'contest' =>
array (
'value' => 'wc_2010',
'text' => 'World Cup 2010',
),
'teams' =>
array (
'hosts' => 'England',
'guests' => 'USA',
),
),
5 =>
array (
'id' => 'd44babd66f4b01d4ca34f6df32fd23ea',
'timestamp_starts' => 1276428600,
'status' => 'finished',
'score' => '0 - 1',
'contest' =>
array (
'value' => 'wc_2010',
'text' => 'World Cup 2010',
),
'teams' =>
array (
'hosts' => 'Algeria',
'guests' => 'Slovenia',
),
),
6 =>
array (
'id' => 'e239b69a65f21e048d2cafa1a076c888',
'timestamp_starts' => 1276437600,
'status' => 'finished',
'score' => '0 - 1',
'contest' =>
array (
'value' => 'wc_2010',
'text' => 'World Cup 2010',
),
'teams' =>
array (
'hosts' => 'Serbia',
'guests' => 'Ghana',
),
),
7 =>
array (
'id' => 'd29394903e5439be30d12d86368931af',
'timestamp_starts' => 1276453800,
'status' => 'finished',
'score' => '4 - 0',
'contest' =>
array (
'value' => 'wc_2010',
'text' => 'World Cup 2010',
),
'teams' =>
array (
'hosts' => 'Germany',
'guests' => 'Australia',
),
),
8 =>
array (
'id' => '9cc41514bd8898eb7e5f95e07914cbdc',
'timestamp_starts' => 1276515000,
'status' => 'finished',
'score' => '2 - 0',
'contest' =>
array (
'value' => 'wc_2010',
'text' => 'World Cup 2010',
),
'teams' =>
array (
'hosts' => 'Netherlands',
'guests' => 'Denmark',
),
),
9 =>
array (
'id' => 'fcad55449a2d2bf4a67525b78140f979',
'timestamp_starts' => 1276524000,
'status' => 'finished',
'score' => '1 - 0',
'contest' =>
array (
'value' => 'wc_2010',
'text' => 'World Cup 2010',
),
'teams' =>
array (
'hosts' => 'Japan',
'guests' => 'Cameroon',
),
),
10 =>
array (
'id' => 'a8f793aee4a68de19f336652b8590752',
'timestamp_starts' => 1276540200,
'status' => 'finished',
'score' => '1 - 1',
'contest' =>
array (
'value' => 'wc_2010',
'text' => 'World Cup 2010',
),
'teams' =>
array (
'hosts' => 'Italy',
'guests' => 'Paraguay',
),
),
11 =>
array (
'id' => 'd7f6201e025be54521faf91962642d9e',
'timestamp_starts' => 1276601400,
'status' => 'finished',
'score' => '1 - 1',
'contest' =>
array (
'value' => 'wc_2010',
'text' => 'World Cup 2010',
),
'teams' =>
array (
'hosts' => 'New Zealand',
'guests' => 'Slovakia',
),
),
12 =>
array (
'id' => '3b7672b72c809fcb585c57ef4d7731f3',
'timestamp_starts' => 1276610400,
'status' => 'finished',
'score' => '0 - 0',
'contest' =>
array (
'value' => 'wc_2010',
'text' => 'World Cup 2010',
),
'teams' =>
array (
'hosts' => 'Côte d\'Ivoire',
'guests' => 'Portugal',
),
),
13 =>
array (
'id' => 'e1dd97e3313dbd596709cb8fe81b3ecf',
'timestamp_starts' => 1276626600,
'status' => 'finished',
'score' => '2 - 1',
'contest' =>
array (
'value' => 'wc_2010',
'text' => 'World Cup 2010',
),
'teams' =>
array (
'hosts' => 'Brazil',
'guests' => 'North Korea',
),
),
14 =>
array (
'id' => '8121aa6ba69e1a8b38792e5960a46bc4',
'timestamp_starts' => 1276687800,
'status' => 'not_started',
'score' => '0 - 0',
'contest' =>
array (
'value' => 'wc_2010',
'text' => 'World Cup 2010',
),
'teams' =>
array (
'hosts' => 'Honduras',
'guests' => 'Chile',
),
),
15 =>
array (
'id' => '767519ff3e1880f09c1d854192076da8',
'timestamp_starts' => 1276696800,
'status' => 'not_started',
'score' => '0 - 0',
'contest' =>
array (
'value' => 'wc_2010',
'text' => 'World Cup 2010',
),
'teams' =>
array (
'hosts' => 'Spain',
'guests' => 'Switzerland',
),
),
16 =>
array (
'id' => 'd49378ba321464b7b2cac7e171e7660e',
'timestamp_starts' => 1276713000,
'status' => 'not_started',
'score' => '0 - 0',
'contest' =>
array (
'value' => 'wc_2010',
'text' => 'World Cup 2010',
),
'teams' =>
array (
'hosts' => 'South Africa',
'guests' => 'Uruguay',
),
),
17 =>
array (
'id' => '2f68be5b3c5367006ab44dfbd64e1ebf',
'timestamp_starts' => 1276774200,
'status' => 'not_started',
'score' => '0 - 0',
'contest' =>
array (
'value' => 'wc_2010',
'text' => 'World Cup 2010',
),
'teams' =>
array (
'hosts' => 'Argentina',
'guests' => 'South Korea',
),
),
18 =>
array (
'id' => 'e711a8e09863ec735501a45fdc046099',
'timestamp_starts' => 1276783200,
'status' => 'not_started',
'score' => '0 - 0',
'contest' =>
array (
'value' => 'wc_2010',
'text' => 'World Cup 2010',
),
'teams' =>
array (
'hosts' => 'Greece',
'guests' => 'Nigeria',
),
),
19 =>
array (
'id' => '01c525992d2e6eb816f24a654628be4f',
'timestamp_starts' => 1276799400,
'status' => 'not_started',
'score' => '0 - 0',
'contest' =>
array (
'value' => 'wc_2010',
'text' => 'World Cup 2010',
),
'teams' =>
array (
'hosts' => 'France',
'guests' => 'Mexico',
),
),
),
)
Könnt ihr mir einen kurzen Beispiel Code geben, mit dem ich nun die einzelnen Felder in eine Tabelle eintragen kann?
Sorry, stehe da ein wenig auf dem Schlauch.