解决Mysql封装类执行报错——Mysql::insert() should not be called

今天在写程序的时候使用了别的程序员写的一个Mysql封装类,但是执行后php会报错:Strict standards: Non-static method Mysql::insert() should not be called statically in 关于这个错误的的处理方法是修改类文件,将对应报错的“function insert()” 修改成“static function insert()” 在网上找了一下其他有遇到过这类问……