The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Query not returning the results I want
I don't know what I'm doing wrong.
I want to make a query that will return results if the column "required" is 2 or 3 but the column "type" cannot be "input" or "textarea". PHP Code:
|
#2
|
||||
|
||||
Quote:
Three of solutions.... AND type not in ("input","textarea") or AND !(type="input" or type="textarea) or AND (type !="input" and type!="txtarea") |
#3
|
|||
|
|||
I also had to wrap the two "required" in parenthesis.
Thanks. |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|