Feb. 15, 2010: So, yesterday I was trying to fix the issues I was having with the glossary page and ended up fixing one of them. After trying so many things on the foreach loop ($def_query as $item) of the view page over the past few days, I decided to change the $def_query to ‘def_query’ to match the code in the controller. It ended up getting rid of the Undefined variable notice, but the issue with the foreach loop itself still remains. I’m hoping tomorrow will be the day everything comes together. Fingers crossed. It hurts.