Your problem might be related to this line:
if ($forum[forumid]==19) {
I assume you have 18 forums and you want to assign the saved one as 19th. If this is the fact you are missing the point that since you have 18 forums this conditional will be never be TRUE so will not be parsed.
If this is the problem set it to 18. The better is put a
$i++;
echo $i;
debug line inside while and see what will be $i get at the end of while.
Or put line
echo "came here";
after
if ($forum[forumid]==19) {
and see if conditional is parsed.
|