explode in mysql query
| From: | Sebe | Date: | Fri, 27 Apr 2007 06:33:42 +0000 |
| Subject: | explode in mysql query | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-253944@lists.php.net to get a copy of this message | ||
i have a mysql column that looks like this:
groups
-------
12,7,10,6,14,11,2
is it possible to select the row if
groups contain 7 or 14?
trying to avoid running two queries and running explode() on it.
i don't remember but i thought there was a way to use explode() on something like this within a single query.