Im looping through a list of forum posts, pulling the data from 2 tables, posts and members.
I'm using a LEFT JOIN like
SELECT m.name, p.title FROM posts LEFT JOIN members m ON p.poster=m.id
That all works fine. But I also need to pull a different record from the members table, that of the p.lastposter. How would I do this? I can't add another JOIN in there can I because i'm already pulling a m.name and wouldn't it confuse it?