add qmarks function

This commit is contained in:
Andrew Dolgov 2017-12-01 12:44:54 +03:00
parent b78a6f08b6
commit 90dafaa9f6

View file

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