Question

I want to develop a subscribe user module in PHP in which the user will get all the notifications about the activity of the subscribed user.

Was it helpful?

Solution

Create Subscriptions, UserSubscriptions tables, you already have Users table (I assume).

insert all notification names into Subscriptions table you want to send, UserSubscriptions table will have UserId and the SubscriptionId.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top