以 admincp_threadtypes.php 中举例: ```php showsetting('threadtype_protect_usergroup', array('protectnew[usergroup][]', $groups), explode("\t", $option['protect']['usergroup']), 'mselect'); ``` 1. `protectnew[usergroup]` 必须为数组。即:`protectnew[usergroup][]` 2. 提交表单时,需先将 `protectnew[usergroup]` 数组序列化,再存入数据库表中 3. 读取表单时,需先将序列化的 `protectnew[usergroup]` 反序列化,得到数组 4. 根据打印 `explode("\t", $option['protect']['usergroup']` 我们可以获悉,当已存在数据后,高级选择框模式默认显示已存储选项的格式为: ```php Array ( [0] => 1 [1] => 2 [2] => 3 [3] => 4 ) ```