What you are trying to do is echo an Array itself. If you just try to echo an Array, PHP will not show you the contents.
When you get results from a database, typically it will be a two dimensional array, that is, it will be an array whose data is more arrays. If you echo the data in the top-most array's index 1, you will be trying to echo an array, since that is what is located in the first array.
In order to actually get the contents, you need to use two indexes; one for the index of the array, and one for the index of the data in that array: