Okay, I figured out what the problem was.
$avatcategorie is pulling up the template for view_avatarcategoriesdis instead of view_avatarcategories for some reason. I cannot figure out why.
In the PHP code it states the avatarcategoriesdis template will be called when, "$totalavatars=$totalavatars2" however I can't understand for the life of me WHY this isn't working for me or why the "totalavatars" and "totalavatars2" are equal to one another.
Is there something I'm not doing right? Please help
Thanks.
|