Thread
:
search MySQL field for any item from array
View Single Post
#
2
(
permalink
)
06-23-09, 12:46 PM
Nico
Community Leader
Join Date: Sep 2005
Location: Spain
Posts: 8,075
Thanks: 11
Thanked 88 Times in 83 Posts
PHP Code:
"... WHERE `category_ids` IN("
.
implode
(
', '
,
$category_ids
) .
")"
__________________
Zend Certified Engineer
|
My Twitter
|
HotScripts' Blog
|
HotScripts' Twitter
|
How to ask questions the smart way
Nico
View Public Profile
Visit Nico's homepage!
Find all posts by Nico