当我输入值从report_id字段搜索时,总是会发生Warning: mysql_fetch_array() expects parameter 1 to be resource, boolean givenvalue inputed by the user (SQL Injection)
$conditions[] = "`$field` LIKE '%" . mysql_real_escape_stringORDER BY report_id asc, report_name AS
.........................................................ERROR 2002 (HY000): Can't connect to local MySQLserver through socket '/opt/bkv1.1.0/common/mysql/data/mysql.sock' (2)2016-11-02 203022, Error: grants