![]() |
find_in_set
can someone run through this with me please?
PHP Code:
|
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 ?
|
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:
|
All times are GMT. The time now is 09:20 PM. |
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:
|