In regards to the above code, when going live,
I would drop the errors to the log, not the browser.
You may end up giving away too much information to
the person viewing the webpage and that could be
a security issue.
seanbo
Ahh..the odd dog is a strange beast indeed, nobody wants him, but he always seems to be there.