Hi there,
I have two tables, a user table, and a post table.
I want to create an option on my site to find posts by people who are currently online. I need to forumulate a MySQL query, that will look in the user table, and select all the users online. I then need to search the post table, and select all the posts that contain the search string, and are by a person is currently online.
I have absolutely no idea how to do this, at first i fought of using some sort of relationship, but im not sure as mysql can handle relationships?
Any help would be great!
Jonathan