summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2017-12-01 12:44:54 +0300
committerAndrew Dolgov <[email protected]>2017-12-01 12:44:54 +0300
commit90dafaa9f669a3635d5d77d80e6ee4f9d9723be7 (patch)
treed541636cb219d89e0f7ce7cd3674c135320cdaf0 /include
parentb78a6f08b6ae381bd3d8dd134ab9744dd4b3ab96 (diff)
add qmarks function
Diffstat (limited to 'include')
-rw-r--r--include/functions.php3
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) . '?';
+ }