Hi, I am creating a page where the admin of the page will recieve a bunch of complaint notification and he will answer it accordingly. I am planning to group the complaints and display it in a table like this

3013855895854a76f7cd9ebb4a16bb33

I want to group it so that when he create an action for the complaints, it would be easier because he will just answer only one group, and under that group will have similar complaints. But my problem is I don't know how can I create a group Id on click.Any idea? Thank you so much.

Member Avatar for diafol

I'm not sure that Iunderstand how your grouping works. Could you elaborate? I'm assuming that you'll have 3 tables:

Users, Groups, Complaints (with foreign keys for group_id, user_id)

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.