MyBB Community Forums

Full Version: SQL Help
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Yo

I am working on a project not really giving details until further progress is made but I need help with a query.

So there is a table called friends and in it it hsa these columns

id
Type - Friend/Ignore
Username - Your username
FriendName - Friend/Ignore username

Using that data I need to make it so only if you are friends it will show up there status which is then stored in the status table

I had the idea of having friends in the users table and using arrays where string contains friend name or something

Does anyone understand and can help?

Imagine it's twitter and only people you are following show up on your feed

Thanks in advance. It has me really stumped :@.
bump.