Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

9
  • 1
    ironically you have a syntax error in a,reply_text Commented Apr 23, 2015 at 2:47
  • Thanks for your help, may I ask why left join instead of join? Commented Apr 23, 2015 at 2:49
  • You can refer to this: Difference between JOIN (default is INNER JOIN) and LEFT JOIN. In your case, topic replies are the key information you want to obtain. If you use INNER JOIN, if topic / user is missing somehow, the replies won't be shown. Commented Apr 23, 2015 at 2:52
  • Thanks I understand it now, I was wondering if you could help me with this new problem i'm facing. My forum page currently shows the forum title and all the replies to that specific forum (As well as the usernames of those who have replied) but i am also trying to show the username of the person who created the forum title, but I can't seem to figure it out. Commented Apr 23, 2015 at 4:19
  • 1
    Thank you so much, I'm new to coding so thank you for putting up with me, I really appreciate it. Commented Apr 23, 2015 at 6:39