Moin,
ich habe folgendes Array:
jetzt möchte ich jeweils den Wert "text" & "id" auslesen.
Wie kann ich das machen?
ich hatte es schon mit einer Schleife und folgenden Code versuche, aber leider ohne Erfolg:
Vielen Dank für Eure Hilfe.
Grüße
rka
ich habe folgendes Array:
Code:
Array
(
[0] => keyword Object
(
[text] => Name1
[id] => 3535954988
[belongsToAdGroupId] => 498981968
[type] => Broad
[isNegative] => 0
[maxCpc] => 0
[minCpc] => 0.04
[status] => Normal
[language] =>
[destinationUrl] =>
)
[1] => keyword Object
(
[text] => Name2
[id] => 3535955048
[belongsToAdGroupId] => 498981968
[type] => Broad
[isNegative] => 0
[maxCpc] => 0
[minCpc] => 0.04
[status] => Normal
[language] =>
[destinationUrl] =>
)
[2] => keyword Object
(
[text] => Name3
[id] => 3535955108
[belongsToAdGroupId] => 498981968
[type] => Broad
[isNegative] => 0
[maxCpc] => 0
[minCpc] => 0.03
[status] => Normal
[language] =>
[destinationUrl] =>
)
[3] => keyword Object
(
[text] => Der König der Löwen tour
[id] => 3535955168
[belongsToAdGroupId] => 498981968
[type] => Broad
[isNegative] => 0
[maxCpc] => 0
[minCpc] => 0.05
[status] => Normal
[language] =>
[destinationUrl] =>
)
)
Wie kann ich das machen?
ich hatte es schon mit einer Schleife und folgenden Code versuche, aber leider ohne Erfolg:
Code:
echo $array[0]["text"];
Grüße
rka
Kommentar