0

Call to undefined function mysql_escape_string()

annabelle created at6 years ago view count: 4840

PHP版本

P 7.0.18-0ubuntu0.16.04.1 (cli) ( NTS )
Copyright (c) 1997-2017 The PHP Group
Zend Engine v3.0.0, Copyright (c) 1998-2017 Zend Technologies
    with Zend OPcache v7.0.18-0ubuntu0.16.04.1, Copyright (c) 1999-2017, by Zend Technologies
report
回复
0

PHP7 已经把mysql扩展去掉了。用mysqli替换下

function mysql_escape_string($string){
    return mysqli_escape_string($string);
}
6 years ago 回复

Recent search keywords