欢迎各位兄弟 发布技术文章

这里的技术是共享的

You are here

Deprecated: mysql_real_escape_string(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO [duplicate]

shiping1 的头像
 
3down voteaccepted

You using MySQLi so use mysqli_real_escape_string():

$this->Email = $this->mysqli->real_escape_string($p_vValue); 



来自 http://stackoverflow.com/questions/22152019/deprecated-mysql-real-escape-string-the-mysql-extension-...
普通分类: