]> git.mxchange.org Git - mailer.git/blobdiff - inc/sql-functions.php
Extension ext-user (sub-id tracking) continued:
[mailer.git] / inc / sql-functions.php
index 9982711f408a4783d574b449493c67ef4ef11d80..d684cbd07edbe0564940e50d547e33cb918c765b 100644 (file)
@@ -137,7 +137,7 @@ function getUpdateSqlFromArray ($array, $tableName, $whereColumn, $whereData, $e
                        continue;
                } // END - if
 
-               // Do we have a non-string (e.g. number, NULL, SQL function or back-tick at the beginning?
+               // Is there a non-string (e.g. number, NULL, SQL function or back-tick at the beginning?
                if (is_null($multiDimId)) {
                        // Handle one-dimensional data
                        if (is_null($value)) {
@@ -184,7 +184,7 @@ function getInsertSqlFromArray ($array, $tableName) {
        $SQL = 'INSERT INTO
 `{?_MYSQL_PREFIX?}_' . $tableName . '`
 (
-`' . implode('`,`', array_keys(postRequestArray())) . '`
+`' . implode('`, `', array_keys(postRequestArray())) . '`
 ) VALUES (';
 
        // Walk through all entries