使用方法 复制代码 代码如下: $mysql = new sqlstr(“table1”); $mysql->set(“name”,”value”); $mysql->set(“name”,”1′′,true); echo $mysql->insertSql(); 复制代码 代码如下: class sqlstr { private $param=array(); private $tablename; function sqlstr($tablename) { $this->tablename = $tablename; } public function set($name,$value,$