I found something thats look like what i'm searching but it's not : SQL selecting people you may know
I have a table of pictures, and a table of votes.
Votes (#id_pic, date, vote, ip, id_user)
Pic (#id, date ...)
So i'm trying to find other pictures that i may also like based on others votes compared to my votes (optionnaly, if i can give a picture for reference to start with, it'll be great.)
We'll admit that my id_user is 1, and if possible by taking a Pic for reference.
I think all the queries will be based on the votes table. I really don't have an idea how to start or how to do it.. if someone can give me some help, i'll appreciate.
Thanks, really.