Thanks for the quick reponse Corion!
Can I push these array entries in mysql table ?
I know for scalar it works, Also when I print array it shows output side by side even after provinding \n.
Comment on Re^2: Scalar looses values outside foreach loop
What do you mean by "Can I push these array entries in mysql table ?" ? Do you want to write the information into a Mysql database table? If so, you need to write them one by one.
For outputting the array, you can either interpolate it as I showed you, or print it item by item, as I also showed you.