1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-30 21:40:43 +02:00

We'll try and get it right this time ...

git-svn-id: file:///svn/phpbb/trunk@3265 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
Paul S. Owen
2003-01-07 14:45:12 +00:00
parent d2e324fe0b
commit 493a689b1e
4 changed files with 16 additions and 21 deletions

View File

@@ -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 )