I have 2 tables namely userinfo and newsinfo. Each user can add/remove any news feed as they wish. So at any time, news will only be delivered to those who subscribed to each news providers only. Users in table userinfo and news providers in table newsinfo will be added or removed as time goes by. I'm using php as the front-end.
Table: userinfo
+---------------+-----------------+--------------------+
| index | name | channel_list |
+---------------+-----------------+--------------------+
| 0 | aaaa | 0,1 |
| 1 | bbbb | 0,1,2,3 |
| 2 | cccc | 3,4 |
+---------------+-----------------+--------------------+
Table: newsinfo
+---------------+-----------------+
| channel | provider |
+---------------+-----------------+
| 0 | cnn |
| 1 | bbc |
| 2 | fox |
| 3 | rtl |
+---------------+-----------------+
Currently what I did was to use array in userinfo.channel_list to store subscribed news channel.
Is there any better way to achieve this without using array in field?