summaryrefslogtreecommitdiffstats
path: root/mysql.php
diff options
context:
space:
mode:
Diffstat (limited to 'mysql.php')
-rw-r--r--mysql.php10
1 files changed, 9 insertions, 1 deletions
diff --git a/mysql.php b/mysql.php
index 0ef2ebc..b15553c 100644
--- a/mysql.php
+++ b/mysql.php
@@ -110,7 +110,15 @@ if (!extension_loaded('mysql') && !function_exists('mysql_connect')) {
{
return getLinkIdentifier($mysqli)->escape_string($string);
}
-
+
+ /**
+ * @param $string
+ * @return string
+ */
+ function mysql_escape_string($string)
+ {
+ return mysql_real_escape_string($string);
+ }
/**
* @param mysqli_result $result
* @return bool|array