Just only the last item of the data in array goes into the database..

Printable View