Vanilla 1 is no longer supported or maintained. If you need a copy, you can get it here.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Can someone help out a brother?
Minisweeper
New
I'm just making a yearbook messaging system for school but i totally suck at UI design.
Is anyone here willing to make me a really quick easy template as a christmas present? All i need is a nav with links to the send and view message pages, and a logout button.
Any takers?
0
This discussion has been closed.
Comments
WHERE takes both joins and conditionals, but JOIN (and INNER JOIN) only takes joins.
m.UserID = u.UserID is a join.
m.UserID = $userID is a conditional
To be honest, I think this dual behavior of WHERE is kinda messy, but I use it myself mainly because I'm lazy. WHERE also makes it pretty unclear what kind of join it's using.
Left joins are not really any slower than inner joins, and it's usually a good idea to start with a pretty flexible join and move in, since it's far easier to spot extra invalid records than missing valid ones.