You have blank lines above the redirect. These will prevent redirects in php. Just delete those and it should fix your issue. If you still have problems, attach the page you are currently working on and I can see if I can spot it.
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.