java - How to send arraylist data to a column in mysql table..?

one text

Im am currently working on a android project which has a calenderpicker(Timesquare calenderpicker) and the selected dates from calenderpicker is stored in a arrayList. My problem is i want to send this dates from Arraylist and put it in the sql table using Php.

Im a beginner in both android and php

This is the calenderpicker Code.!!

public void onClick(View v) {

                ArrayList<Date> selectedDates = (ArrayList<Date>) calendarPickerView
                        .getSelectedDates();
                Log.d("newFormatDate", sdf.format(selectedDates.get(0)));
                Log.d("newFormatDate", sdf.format(selectedDates.get(selectedDates.size() - 1)));
//                Toast.makeText(Selectdate.this, selectedDates.toString(),
//                        Toast.LENGTH_LONG).show();
                int nowadays = selectedDates.size();

Source