The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
MYSQL In Clause
If I had an IN ($groupids) in a query which were values 6,15 would that query only display results if it found exactly 6,15? What if 6 wasn't found, just 15?
Basically does the IN clause look for exact order and everything, or just any thing thats true in it? |
#2
|
||||
|
||||
6 or 15
|
#3
|
||||
|
||||
Thats what I thought, however my code:
PHP Code:
--------------- Added [DATE]1255005593[/DATE] at [TIME]1255005593[/TIME] --------------- n/m, I may have found my long outstanding issue. I can't use an IN when searching a DB column that has data in it such as 5,6,2. I have to use the FIND_IN_SET, but bigger yet, had to create loop to look through the array and then use the find in set. Phew! |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|