Database connection setting updates
Database connection setting updates

file:a/README.md -> file:b/README.md
--- a/README.md
+++ b/README.md
@@ -51,7 +51,7 @@
 
 Reference: https://mariadb.com/docs/server/server-management/variables-and-modes/old_mode
 
-Alternateively, in includes/mysqli_functions, you may comment the line **mysqli_query($mysqli_access, "SET NAMES UTF8;");**  and uncomment the line **mysqli_query($mysqli_access, "SET NAMES UTF8MB4;");** if you are not able to configure the database configuration.
+Alternateively, in includes/mysqli_functions, you may comment the line **mysqli_query($mysqli_access, "SET NAMES UTF8;");**  and uncomment the line **mysqli_query($mysqli_access, "SET NAMES UTF8MB4;");** if you are not able to configure the database configuration. It is recommended to uncomment the line **mysqli_query($mysqli_access, "SET collation_connection = utf8mb4_bin;");** if the UTF8MB4 line is used as well.
 
 
 ### Installation and Usage

--- a/includes/mysqli_functions.php
+++ b/includes/mysqli_functions.php
@@ -24,6 +24,10 @@
 	// comment UTF8 and uncomment UTF8MB4 if needed - especially when converted to Mod
     //mysqli_query($mysqli_access, "SET NAMES UTF8MB4;");
     mysqli_query($mysqli_access, "SET NAMES UTF8;");
+
+	// if SET NAMES UTF8MB4 is uncommented, uncomment this along with UTF8MB4, especially when converted to Mod
+	//mysqli_query($mysqli_access, "SET collation_connection = utf8mb4_bin;");
+
 	return $mysqli_access;
 }