I have an array in php called: $tmpArrayFechas.
The array when printed outputs like this:
[{"fecha":{"0":"2018-12-04"},"id":{"0":"34732"},"quedanplazas":
{"0":"42"}},{"fecha":{"0":"2018-12-11"},"id":
{"0":"34733"},"quedanplazas":{"0":"55"}},{"fecha":{"0":"2018-12-
18"},"id":{"0":"34734"},"quedanplazas":{"0":"52"}}]
I only need the id in the array. I have tried this and many other ways:
echo $tmpArrayFechas[0].id["0"];
Above give this error: Notice: Use of undefined constant id - assumed 'id' in /Users/helen/Documents/Web/htdocs/pas/restofform.php on line 51 [i