swr,
I usually use mysql_error(); but when I don't suspect sql errors I never bother...I usually echo comments every other line or so to trace the sequence of events.
In this case I have to admit that something that simple made all the difference... No database selected. I've been incrementally updating about 50 php pages so all the code is commented the same, looks the same, and is the same order. Somehow, on this one file, I left out the line of code which opened the database.
So...Thank you, thank you, thank you, thank you, thank you, thank you, thank you, thank you, thank you, thank you, thank you, thank you, thank you, thank you, thank you, thank you, thank you, thank you, thank you, thank you, thank you, thank you, thank you, thank you, thank you, thank you!
John