Ha- that did it. Awesome - so easy. I feel kinda dumb now but oh well - its not the first time.
Basically, php (or asp, jsp) can dynamically grab different elements for a website and throw them altogether. In my site for example, I have the HTML head and the titlebar in one php block and I have the body in another php block and the footer is in yet another block. Each one of the pages you see on a dynamic site is really a mashup of these blocks. When all the blocks come together, they make a functional webpage.
In the example we were working with, that piece of code I showed you was