Hi!
I need your help regarding the following: I'm coding a website where users can search for other users with the same interest. It works by letting a user fill out a form with his interests (radio-buttons, so only a limited amount of posibillities). Every posibillity has an ID. For example, user fills out the form and gets ID 37, his name is pushed in a mysql database in row number 37. If there are 3 users in the same row, every user gets a notification with a link to the profile of the 2 other ones with the same ID, so they can connect.
My questions are:
Thank you!
I need your help regarding the following: I'm coding a website where users can search for other users with the same interest. It works by letting a user fill out a form with his interests (radio-buttons, so only a limited amount of posibillities). Every posibillity has an ID. For example, user fills out the form and gets ID 37, his name is pushed in a mysql database in row number 37. If there are 3 users in the same row, every user gets a notification with a link to the profile of the 2 other ones with the same ID, so they can connect.
My questions are:
- How to detect if there are 3 users in a row? (was thinking about checking everytime a user enters the db)
- How to interact with the individual users and sending them a notification? (Doesn't need to be a fancy system, only the links popping up at the website) Every user has a unique id btw.
- Is this even possible in PHP?
Thank you!



![[Image: m7EgqG6.png]](https://i.imgur.com/m7EgqG6.png)