i have one doubt, how to send array value via gsm.
A very basic concept which turns up in all forms of programming is Looping - where you write a bit of code only once, but that code can be executed many times in succession: en.wikipedia.org/.../Control_flow
There have already been (at least) three examples so far in this thread of where Looping would be applicable ...