I've been really trying hard to debug this problem. Here's a new one (for me) I ran PHP against test.php at the command prompt and saved the output in a file ending with .htm The output is beautiful and is exactly what should be showing up on the web server. Now, any ideas why running test.php against php.exe at the command prompt works, but not running it on the server? Liz Marr