php : reading json arraylist and saving data in mysql?
问题 I want to read arraylist from android into php in order to store in database , but I'm not able to find exact code for it. Can anybody guide me in the direction to solve this problem ? Here is my java code for creating the arraylist private void loadCart() { productList.clear(); Cursor cursor = dbHelper.getCarProducts(); cursor.moveToFirst(); do { CartProduct cartProduct = new CartProduct(); cartProduct.setProductName("Name: "+cursor.getString(cursor.getColumnIndex("_Name"))); cartProduct