print\_r($testarray) gives:

```

Array
(
    [1] => Array
        (
            [id] => 1
            [account] => testuser
            [sum] => 152
            [sumrate] => 0.08
            [avgrate] => 10.133333333333
            [speed] => 14167.426844444
        )
```

)

echo "Speed for User ID 1: $testarray[1][speed]";

just gives:

PHP Notice: Array to string conversion 

What am I doing wrong ?