Fenhopi Posted November 1, 2010 Share Posted November 1, 2010 Hi, I'm trying to write a query that retrieves the comments from one table where "touser=$username" and retrieve statuses from another table where byuser=$username, and I want to sort it all by date posted. How would I go about doing that? I'm used to writing normal single table queries, but retrieving from multiple tables is new to me. Thank you for your help in advance. Quote Link to comment Share on other sites More sharing options...
Gem Posted November 1, 2010 Share Posted November 1, 2010 look up joins mate - I'm not very good at it, but thats what you are after Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.