diff --git a/include/functions.php b/include/functions.php index 2c93745bb..c51ae1264 100644 --- a/include/functions.php +++ b/include/functions.php @@ -2537,3 +2537,6 @@ return $bad_tables; } + function arr_qmarks($arr) { + return str_repeat('?,', count($arr) - 1) . '?'; + }