[development] D7 Query placeholders and values

Nancy Wichmann nan_wich at bellsouth.net
Wed Aug 26 19:14:01 UTC 2009


Sascha Grossenbacher wrote:
> You can use a single placeholder and an array of values and it will just
work...
> '... WHERE your_field IN (:values)', array(':values' => $array_of_values)

Perfect. Thanks, Sascha - and Larry (you done good).

Nancy E. Wichmann, PMP
Injustice anywhere is a threat to justice everywhere. -- Dr. Martin L. King,
Jr.




More information about the development mailing list