jsoeurt Posted December 12, 2007 Share Posted December 12, 2007 I've got a database with users and the things they are interested in. The database contains the following fields: username, interested1, interested2, interested3 User1 for example is interested in "rock music", "dvd movies with a happy ending" and "going on vacation" Now I want to show User1 the username of a user that has things in common with User1. But I don't want it to be the same result every single time. And when there are no users with things in common I want to show a random username. Does anyone know how to do this? Link to comment https://forums.phpfreaks.com/topic/81319-find-user-with-similarities-to-other-user/ Share on other sites More sharing options...
jsoeurt Posted December 12, 2007 Author Share Posted December 12, 2007 Maybe someone has experience with dating sites? I think they use the same idea.. Link to comment https://forums.phpfreaks.com/topic/81319-find-user-with-similarities-to-other-user/#findComment-412811 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.