I found the problem, which basically was that I had declared a variable in a preceding script with the same name, namely $user_id.
When I changed my script to $u_id, everything worked as before. Clearly, Globals are evil.
It's a bitch to have to work with code you can't change unless you are willing to edit over 1500 files.
Many thanks for all input and suggestions. Cheers, tedd -- ------- http://sperling.com http://ancientstones.com http://earthstones.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php