Re: Error Querying Database
| From: | Daniel P. Brown | Date: | Wed, 15 Dec 2010 18:56:58 +0000 |
| Subject: | Re: Error Querying Database | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-310049@lists.php.net to get a copy of this message | ||
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/