A thought. In another work session, Ray advised about so much white space in a php file. Could this be a contributing factor? I'm attaching the file in case it is relevant. I noticed that your line numbers for advice didn't match mine. Just an idea.
Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.
These out-of-the-box solutions provide you proven, tested applications that can be up and running now. Build a store, a gallery, or a web-based email solution.