Quote:
The data passed in to the function looks good, and I can connect to MySQL manually without a problem.


Have you tried to connect to MySQL through PHP in a simple script other than this one, or checked phpinfo() to make sure PHP can see MySQL at all?

- Tim