are you getting an error or warning on your PHP page, so what does this error mean?
Warning: Illegal string offset 'MyArray' in htdocs/test.php on line 5
this is what i had on my code on line 5
function SomeFunction($MyArray){
echo SomeFunction($MyArray['name']);

as you can see im calling a function which needs an array, and instead i am pushing only one element of the array instead of the whole array. so to fix this just change line 5 to this:

echo SomeFunction($MyArray);

hope that helps