I am sorry, what is it that you want me to try now? I created that test file, you said that all checked out and I should change some php code. Where should the code be placed (on what page exactly).
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.