Moin,
mein nächster Versuch:
$json = '{ "termin": { "tt": "25", "mm": "08", "jjjj": "2016" }, "termin": { "tt": "26", "mm": "09", "jjjj": "2016" } }';
echo "<pre>";
var_dump(json_decode($json));
echo "</pre>\n";
Antwort:
object(stdClass)#2 (1) {
["termin"]=>
object(stdClass)#3 (3) {
["tt"]=>
string(2) "26"
["mm"]=>
string(2) "09"
["jjjj"]=>
string(4) "2016"
}
}
Warum kommen nicht beide Termine?
Linuchs