
05-20-2008, 01:07 PM
|
|
|
Join Date: Oct 2005
Posts: 11
Благодарил(а): 0 раз(а)
Поблагодарили:
0 раз(а) в 0 сообщениях
|
|
Quote:
Originally Posted by Deety
I would like to have the form post new threads in multiple forums selected by checkboxes.
This code seems to work well for selecting one $formforumid, but the first two "else" statements would prevent multiple selections, and taking them out did no good.
I'm guessing the issue may be that $formforumid can't be assigned multiple values (i.e., $formforumid = "1,2,3" or some such), but hopefully it can and I'm just missing the language that will do it. Easy answers are nice.
If anyone has a suggestion to get multiple forums working, I'll make the edit to the original form and post it as an example so it's easy for the next person. Thanks for any ideas...
PHP Code:
if ($checkboxchoice1_1 = 1)
{
$formforumid = "1";
}
else
if ($checkboxchoice1_2 = 1)
{
$formforumid = "2";
}
else
if ($checkboxchoice1_3 = 1)
{
$formforumid = "3";
}
else
$formforumid = "4";
|
Bump for a question that about a dozen people here including myself have.
|