ThinkChat2.0新版上线,更智能更精彩,支持会话、画图、视频、阅读、搜索等,送10W Token,即刻开启你的AI之旅 广告
### deletes **根据主键批量删除表记录,根据所传id字符中","符号个数进行单或多条记录的删除** **参数** $ids: id值 ~~~ function deletes($ids) { if (! mysql_query ( "delete from " . $this->tbl_name . " where id in(" . $ids . ")" )) { throw new Exception ( mysql_error () ); } return true; } ~~~