I'd have to look at the page to debug this. There isn't enough information in the post to identify the problem. I'd at least need a url to see the code that doesn't' work. I may need FTP access if the problem is in the PHP.
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.