Re:Up to 12M websites may have been compromised via Drupal v...
by jiggy2011 on Saturday November 01, 2014 @04:55PM
(#8544581)
You need to count the array at runtime and convert to a tuple, the only way this can be done using PDO (AFAIK) is by appending the tuple to the string itself because PDO provides no tuple type.
What part of you needed to write a function was unclear? o.O
Counting an array is a safe operation.