当我运行mysql_real_escape_string($value)时,我得到了这个错误。Warning: mysql_real_escape_string() [function.mysql-real-escape-string]: Can't connect to MySQL serverfunction __get($value) //in order for this to work properly, I must have a live connection
我有一个php数据库类来管理我所有的数据库查询:{ public $filter;public function disconnect() $this->link->close();我使用这个类来管理我的所有查询,比如插入到数据库中,这些连接会减慢到服务器的连接速度,从而导致超时和连接过多。globa