I am developing a new project and I am creating a system of profile followers, in which the purpose is to show only the publications of whom I follow.
Like for example the one of a social network.
I follow the person, so I get the person's publications on the homepage.
My difficulty is to show only the publications I follow.
Home
Example:
WhatIthinkisthatIhavetojoinmy2tablesinonly1query,butIthinkIcannotuse"UNION" in any way ...
You're probably in the wrong rationale, forgive me ...
Here are my necessary mysql tables.
I already tried several querys but I could not reach a resolution.
Is it better to make 2 querys and compare with a while or if?
If so ... how?
Greetings to all and thank you one more time.
Home
PS: I'm doing it in pdo.