I am having a seperate table of user interests. Then, for instance, my users table:
| uID | uName |
| 1 | Brad |
| 2 | Jake |
My interest table
| iID | iInterest |
| 1 | Cars |
| 2 | Computers |
I have a many to many relationship table that links the users to the interests (UserInterests):
| uID | iID |
| 1 | 1 |
| 1 | 2 |
| 2 | 2 |
In my android app, I have an activity which contains checkboxes for each of the interest. Users can also choose multiple interest. For example Car, Computer, Technology etc. Whatever the user has selected will be stored in java userInterest arrayList. Now, how can I add that userInterest array to mysql. I really need some help!