I got it working. I don't know how, but I added more and it just started working. There weren't any error messages previously. It bugs me that I didn't know what was wrong, but oh well.
Tracy, thanks for the tip about database and, and iframes too. I like PHP, but have had problems with it...