4 ms·
You're misunderstanding You cannot do something like the following: "WHERE status in (...?)" and then ->execute($status_array) But you can pass an array of
by dreyfan 5y ago
You're misunderstanding You cannot do something like the following:
"WHERE status in (...?)" and then ->execute($status_array)
But you can pass an array of parameters just fine (to individually bound input placeholders). It depends on which API you're using but it's of the format:
->bind_param($types, ...$params); or ->execute($params);