/** * 删除数据 * @param [type] $table [description] * @param [type] $condition [description] * @param integer $limit [description] * @return [type] [description] */ public static function delete($table, $condition, $limit = 0) { if ($limit) { $limit = intval($limit); } self::$sql = "DELETE FROM " . self::table($table) . " where " . $condition . " limit " . $limit; return self::exec(); }