The Arcive of vBulletin Modifications Site. |
|
|
#1
|
||||
|
||||
|
Is there a simple way to compare a variable to 2 different database colums and look for a match? One in user(a) and one in post(a).
thanks. |
|
#2
|
|||
|
|||
|
SELECT user.*,post.* FROM user LEFT JOIN post on user.id = post.userid WHERE user.a = 1 OR post.a=1
|
|
#3
|
||||
|
||||
|
will give it a shot, thanks!!!!!
|
![]() |
|
|
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
|
|
More Information |
|
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|