Quote:
Originally Posted by soniceffect
Have you tried outputting checkid to see what it outputs? This should be your first port of all. Alway output the items you are going to compare to screen to see whether they contain what you expect before you try to compare them.
I believe $foruminfo[forumid] should actually be $forum['forumid']
|
$foruminfo[forumid] is the correct variable to use, when trying to find what forum the user has selected.
I tried printing the variable checkid and instead of getting the number 4, I got "Post new thread" and some submit buttons(as if I re-click new topic). Tab confused on this one, as clearly there's some kind of error within the mapping of the variable. But if I echo $customid I do indeed get 4.
Some where in
PHP Code:
$var2->register('checkid', $customid);
$my_var2 = $var2->render();
is not setting the number correctly.