The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
find_in_set
can someone run through this with me please?
PHP Code:
|
#2
|
||||
|
||||
FIND_IN_SET(<string>, <list>) looks for <string> in the comma seperated <list> of items, and returns its position in the list (or 0, or null) - this doesn't seem to be what you are doing ?
|
#3
|
||||
|
||||
nope i'm trying to do a select based on the existence of a <string> in a <list> kinda like a while
so "SELECT * FROM prs_styles WHERE FIND_IN_SET(1, 1 5 10 15 20 25 30) ORDER BY catid ASC" is supposed to return a list of all rows which contain '1'. PHP Code:
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|