diff options
author | Andrew Dolgov <[email protected]> | 2017-12-01 12:44:54 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2017-12-01 12:44:54 +0300 |
commit | 90dafaa9f669a3635d5d77d80e6ee4f9d9723be7 (patch) | |
tree | d541636cb219d89e0f7ce7cd3674c135320cdaf0 | |
parent | b78a6f08b6ae381bd3d8dd134ab9744dd4b3ab96 (diff) |
add qmarks function
-rw-r--r-- | include/functions.php | 3 |
1 files changed, 3 insertions, 0 deletions
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) . '?'; + } |