Protected Member Functions | |
escape ($str) | |
Quotes string using native MySQL function. |
Definition at line 32 of file MySQLiPreparedStatement.php.
MySQLiPreparedStatement::escape | ( | $ | str | ) | [protected] |
Quotes string using native MySQL function.
string | $str |
Reimplemented from PreparedStatementCommon.
Definition at line 38 of file MySQLiPreparedStatement.php.
References PreparedStatementCommon::getConnection(), and PreparedStatementCommon::getResource().
00039 { 00040 return mysqli_real_escape_string($this->getConnection()->getResource(), $str); 00041 }