I have a cosulta that returns me the following arrangement
array(1) {
[0]=>
array(2) {
[0]=>
array(1) {
["total"]=>
string(19) "2018-10-23 10:17:00"
}
["r"]=>
array(1) {
["id"]=>
string(3) "239"
}
}
}
I can only get one so $arreglo = [0]['r']['id']
, but with the other I can not do the same since it is not within r