diff options
author | Paul S. Owen <psotfx@users.sourceforge.net> | 2003-01-07 14:45:12 +0000 |
---|---|---|
committer | Paul S. Owen <psotfx@users.sourceforge.net> | 2003-01-07 14:45:12 +0000 |
commit | 493a689b1eddc2d8db2078e487596322ce86dfc2 (patch) | |
tree | 41b79f385ee8c6c5746abb90d6970e37f512417b /phpBB/db/mysql.php | |
parent | d2e324fe0bfd7ee20609453c873516682b914959 (diff) | |
download | forums-493a689b1eddc2d8db2078e487596322ce86dfc2.tar forums-493a689b1eddc2d8db2078e487596322ce86dfc2.tar.gz forums-493a689b1eddc2d8db2078e487596322ce86dfc2.tar.bz2 forums-493a689b1eddc2d8db2078e487596322ce86dfc2.tar.xz forums-493a689b1eddc2d8db2078e487596322ce86dfc2.zip |
We'll try and get it right this time ...
git-svn-id: file:///svn/phpbb/trunk@3265 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/db/mysql.php')
-rw-r--r-- | phpBB/db/mysql.php | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/phpBB/db/mysql.php b/phpBB/db/mysql.php index 132b64f79f..256a7361ad 100644 --- a/phpBB/db/mysql.php +++ b/phpBB/db/mysql.php @@ -379,6 +379,11 @@ class sql_db return ( $query_id ) ? @mysql_free_result($query_id) : false; } + function sql_escape($msg) + { + return mysql_escape_string($msg); + } + function sql_error($sql = '') { if ( !$this->return_on_error ) |