Home  >  Article  >  Backend Development  >  discuz 请问

discuz 请问

WBOY
WBOYOriginal
2016-06-13 13:33:00954browse

discuz 请教
我要写一个 for 循环创建 discuz 群组的脚本,但是他得接口有点看不懂, 麻烦懂的直接告诉我 可以怎么模拟

------解决方案--------------------

PHP code

<!--{loop $_G['cache']['grouptype']['first']  $groupid $group}-->
                    <!--{if $group['secondlist']}-->
                        
$group[name]($group[groupnum])
$second[$fid][name]($second[$fid][groupnum])
Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn