X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fdb%2Flib-mysql3.php;h=5d346e48ff5ac65462357d97aadd9a9b2921f24a;hb=be79afde3071dfc4d6fe845ddb75abf13534eadb;hp=2d25cdea884311a5e9502aeec0868c1380437160;hpb=54c8b5c5e33d7bcea5313b77e50358e95ab524e2;p=mailer.git diff --git a/inc/db/lib-mysql3.php b/inc/db/lib-mysql3.php index 2d25cdea88..5d346e48ff 100644 --- a/inc/db/lib-mysql3.php +++ b/inc/db/lib-mysql3.php @@ -339,7 +339,7 @@ function SQL_RESULT_FROM_ARRAY ($table, $columns, $idRow, $id, $F, $L) { } // END - if // Prepare the SQL statement - $sql = "SELECT `".implode("`, `", $columns)."` FROM `{?_MYSQL_PREFIX?}_%s` WHERE `%s`='%s' LIMIT 1"; + $sql = "SELECT `".implode("`,`", $columns)."` FROM `{?_MYSQL_PREFIX?}_%s` WHERE `%s`='%s' LIMIT 1"; // Return the result return SQL_QUERY_ESC($sql, @@ -474,7 +474,7 @@ function SQL_ALTER_TABLE ($sql, $F, $L, $enableCodes = true) { // Getter for SQL link function SQL_GET_LINK () { // Init link - $link = null; + $link = NULL; // Is it in the globals? if (isset($GLOBALS['sql_link'])) {