Re: Error Querying Database

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



""Daniel P. Brown"" <daniel.brown@xxxxxxxxxxxx> wrote in message 
news:AANLkTi=GEMvZMpjg1uvB4_tDAcQLbZYFjcgVD+HaR4b6@xxxxxxxxxxxxxxxxx
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/

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





-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux