警告:implode() [function.implode]:在第 1394 行 [path]/clancp.php 中传递的参数无效
// ##################### 开始管理部落邀请页面##################### ##
if ($_REQUEST['do'] == 'manageinvite')
{
if (count($clan['invite']) == 0)
{
// No invites
eval(standard_error(fetch_error('rpg_clan_no_invites_sent')));
}
$usernames_query = $db->query_read("
SELECT `rpgname`, `userid`, `clanid`
FROM `" . TABLE_PREFIX . "rpg_user`
WHERE `userid` IN(" . implode(', ', $clan['invite']) . ")
");
while ($userinfo = $db->fetch_array($usernames_query))
{
$checked = '';
if ($userinfo['clanid'] > 0)
{
// In clan
$checked = ' checked="checked"';
}
// Fetch template for each user
eval('$invitedbit .= "' . fetch_template('rpg_clan_user_invitedbit') . '";');
}
$db->free_result($usernames_query);
请帮助我是新手。我需要找出问题所在。
第 1394 行 ###### WHEREuserid
IN(" . implode(', ', $clan['invite']) . ")