I seem to be unable to access an array inside an array with index.
this
var_dump($graphed[0]);
give me this
array (size=2)
'date' => string '02-03-15' (length=8)
'weight' => string '82.327015155' (length=12)
this
var_dump($graphed[0]['weight']);
gives me this
string '82.327015155' (length=12)
BUT this
var_dump($graphed[0][1]);
gives me THIS
A PHP Error was encountered
Severity: Notice
Message: Undefined offset: 1
Filename: progress/compare.php
Line Number: 17
null
I have no idea where to go from here. Everything I know about PHP tells me this shouldn't be happening.
By the way, this
echo phpversion();
gives me
5.5.12
Am I crazy? What's going on?