Left Join in query ?
ZiNgA BuRgA Offline
Fag
*******
Posts: 3,357
Joined: Jan 2008
Post: #2
RE: Left Join in query ?
MyBB's "simple_select" isn't really designed for that thing.  You'll need to write the full query yourself.

Joins are probably something difficult to conceptualise at first, but the idea is to link a field of one table to a field of another.

SQL Code
SELECT u.username, u.email, u.regip FROM mybb_users u LEFT JOIN mybb_userfields f ON u.uid=f.ufid


My Blog
08-23-2010 12:28 PM
Find all posts by this user Quote this message in a reply

« Next Oldest | Next Newest »

Messages In This Thread
Left Join in query ? - Imran - 08-23-2010, 09:48 AM
RE: Left Join in query ? - ZiNgA BuRgA - 08-23-2010 12:28 PM
RE: Left Join in query ? - Imran - 08-23-2010, 06:11 PM
RE: Left Join in query ? - ZiNgA BuRgA - 08-23-2010, 06:28 PM
RE: Left Join in query ? - Imran - 08-23-2010, 06:40 PM

 Standard Tools
Forum Jump: