I've a multidimesional array in my PHP code ...
$wayPoints = $_POST['wayPoints'];
print_r ($wayPoints);
that returns
[["1dcb4f6575fbf5ee4ebd542d5981a588",7.67468,44.91085],["7503c3e97935960d0f7abcb6f7ad70f4",7.67614,44.90977]]
I need to get the values at index = 1 and index = 2 in the array: if I try to get the value
7.67468
using
print_r ($wayPoints[0][1]);
I obtain
Notice: Uninitialized string offset: 1
as error
Using
print_r ($wayPoints[0]);
I obtain
[
as error
Suggestions?