![]() |
Query not returning the results I want
1 Attachment(s)
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:
|
Quote:
Three of solutions.... AND type not in ("input","textarea") or AND !(type="input" or type="textarea) or AND (type !="input" and type!="txtarea") |
I also had to wrap the two "required" in parenthesis.
Thanks. |
All times are GMT. The time now is 10:53 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|