R
R
RusTaylor2019-02-21 20:35:32
YouTube
RusTaylor, 2019-02-21 20:35:32

How to make the subscription logic on the site?

Good day!
The question arose, how to implement a subscription system?
There is the following idea:
When you click on the subscribe button for a user, the id and name of the subscriber will be added to the table with the name of the user to whom the subscription will be made.
And when a post is created, a function will be triggered that will iterate over the table and display a new post to those users who were in that table. But then the question is how to add the subscriber's data from the users table to another table?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Andrey Pletenev, 2016-09-17
@Andrey_Pletenev

Try Avidemux

D
Dimonchik, 2019-02-21
@dimonchik2013

insert into select from

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question