【发布时间】:2012-02-11 16:16:13
【问题描述】:
我有一个函数
list_all_wpmu_blogs($tmp_limit, $tmp_name_or_url, $tmp_begin_wrap, $tmp_end_wrap, $tmp_order)
如果我这样使用
<?php list_all_wpmu_blogs('', '', '', '', 0); ?>
它列出了我所有 500 多个这样的博客
<a href="http://subdomain.myblog.com">blog1</a>
<a href="http://subdomain.myblog.com">blog2</a>
<a href="http://subdomain.myblog.com">blog3</a>
..........
..........
<a href="http://subdomain.myblog.com">blog500</a>
现在我想将这些链接存储在一个数组中,而不是输出它。
谁能帮我将它们存储在一个数组中?
我想要这样的数组。
array(blog1,blog2,.....,blog500);
更新:
这是我的全部功能list_all_wpmu_blogs() code
【问题讨论】:
-
请发功能
list_all_wpmu_blogs() -
@Michael 查看我的更新。谢谢