Re: Error Querying Database

From: Date: Wed, 15 Dec 2010 19:04:54 +0000
Subject: Re: Error Querying Database
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-310051@lists.php.net to get a copy of this message
""Daniel P. Brown"" <daniel.brown@parasane.net> wrote in message news:AANLkTi=GEMvZMpjg1uvB4_tDAcQLbZYFjcgVD+HaR4b6@mail.gmail.com... On Wed, Dec 15, 2010 at 13:42, Gary <gpaul@paulgdesigns.com> 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/ Daniel Thank you for your reply, the new error message is Error querying database. MySQL said: Gary __________ Information from ESET Smart Security, version of virus signature database 5706 (20101215) __________ The message was checked by ESET Smart Security. http://www.eset.com

« previous php.general (#310051) next »