the problem is caused by an extra blank space at the end of line 4:
"?> "
should be:
"?>"
PHP is picky about blank spaces.
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.