From 90dafaa9f669a3635d5d77d80e6ee4f9d9723be7 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Fri, 1 Dec 2017 12:44:54 +0300 Subject: [PATCH] add qmarks function --- include/functions.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/functions.php b/include/functions.php index 2c93745b..c51ae126 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) . '?'; + } -- 2.39.2