add qmarks function

This commit is contained in:
Andrew Dolgov 2017-12-01 12:44:54 +03:00
parent b78a6f08b6
commit 90dafaa9f6
1 changed files with 3 additions and 0 deletions

View File

@ -2537,3 +2537,6 @@
return $bad_tables;
}
function arr_qmarks($arr) {
return str_repeat('?,', count($arr) - 1) . '?';
}