I have a php mod that I'm using on an Invision Power Board. It's to search for unanswered topics. The problem is that it was designed to search for "all" and I need to be able to filter them by forum_id.
This is what I had:
[code=php]
$this->ipsclass->input['forums'] = '7 9 10 31 19 26 28 13 15 20 48 21 16 52';
$forums = $this->get_searchable _forums();
$mid = intval($this->ipsclass->input['mid']);
[/code]
[Please use CODE tags when posting source code. Thanks! --pbmods]
But now it's only searching the first forum and ignoring the rest. How do I get it to include all forums I listed?
Thanks
This is what I had:
[code=php]
$this->ipsclass->input['forums'] = '7 9 10 31 19 26 28 13 15 20 48 21 16 52';
$forums = $this->get_searchable _forums();
$mid = intval($this->ipsclass->input['mid']);
[/code]
[Please use CODE tags when posting source code. Thanks! --pbmods]
But now it's only searching the first forum and ignoring the rest. How do I get it to include all forums I listed?
Thanks
Comment