0

Hi, I'm trying to make an addressbook and as a feature I want to make Groups and store certain contacts within a group.

Since I don't want to have static columns in my database for predefined groups how can I make a column `groups` and have the user add their own groups and then query the database to show the groups as they are added?

I was thinking of storing an array and just append to the array every time the user adds a new group.

But then if i do this, how will I be able cross reference what contact belongs to what group?

2
Contributors
1
Reply
2
Views
6 Years
Discussion Span
Last Post by mahavir123
0

Just add a new column 'group' and save the group type in there
This will be much easier... Think so

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.