On Wed, Dec 15, 2010 at 13:42, Gary <gpaul@xxxxxxxxxxxxxxxx> wrote: > I cant seem to get this to connect. This is to my local testing server, > which is on, so we need not worry that I have posted the UN/PW. > > This is a duplicate of a script I have used countless times and it worked. > The error message is 'Error querying database.' > > Some one point out the error of my ways? Replace: or die('Error querying database.'); With: or die('Error querying database. MySQL said: '.mysql_error()); -- </Daniel P. Brown> Dedicated Servers, Cloud and Cloud Hybrid Solutions, VPS, Hosting (866-) 725-4321 http://www.parasane.net/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php