Re: [PHP] Error Querying Database

2010-12-20 Thread Ravi Gehlot
Trying to connect to the database can involve setting up your database. Make sure that you have a valid login/password that is recognized by MySQL. Please keep in mind that MySQL works on permission by hosts. So your host IP must be matched with the username/password on the database for a

Re: [PHP] Error Querying Database

2010-12-16 Thread Phred White
It seems like there are several questions emerging, but ... Try echoing your query to the page by putting echo $query in your code before you call mysql, then copy it and run it in phpmyadmin. If it runs then you know your problem is somewhere else like the connection. This can really help you

[PHP] Error Querying Database

2010-12-15 Thread Gary
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

Re: [PHP] Error Querying Database

2010-12-15 Thread Daniel P. Brown
On Wed, Dec 15, 2010 at 13:42, Gary gp...@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

Re: [PHP] Error Querying Database

2010-12-15 Thread Gary
Daniel P. Brown daniel.br...@parasane.net wrote in message news:aanlkti=gemvzmpjg1uvb4_tdacqlbzyfjcgvd+har...@mail.gmail.com... On Wed, Dec 15, 2010 at 13:42, Gary gp...@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

Re: [PHP] Error Querying Database

2010-12-15 Thread Steve Staples
On Wed, 2010-12-15 at 13:42 -0500, Gary 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

Re: [PHP] Error Querying Database

2010-12-15 Thread Gary
Steve Staples sstap...@mnsi.net wrote in message news:1292440837.5460.8.ca...@webdev01... On Wed, 2010-12-15 at 13:42 -0500, Gary 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

Re: [PHP] Error Querying Database

2010-12-15 Thread Steve Staples
On Wed, 2010-12-15 at 14:34 -0500, Gary wrote: Steve Staples sstap...@mnsi.net wrote in message news:1292440837.5460.8.ca...@webdev01... On Wed, 2010-12-15 at 13:42 -0500, Gary wrote: I cant seem to get this to connect. This is to my local testing server, which is on, so we need not

Re: [PHP] Error Querying Database

2010-12-15 Thread Ashley Sheridan
On Wed, 2010-12-15 at 14:44 -0500, Steve Staples wrote: On Wed, 2010-12-15 at 14:34 -0500, Gary wrote: Steve Staples sstap...@mnsi.net wrote in message news:1292440837.5460.8.ca...@webdev01... On Wed, 2010-12-15 at 13:42 -0500, Gary wrote: I cant seem to get this to connect. This is

Re: [PHP] Error Querying Database

2010-12-15 Thread Gary
Sent: Wednesday, December 15, 2010 2:44 PM Subject: Re: [PHP] Error Querying Database On Wed, 2010-12-15 at 13:42 -0500, Gary 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

Re: [PHP] Error Querying Database

2010-12-15 Thread Bastien Koert
On Wed, Dec 15, 2010 at 3:11 PM, Gary gp...@paulgdesigns.com wrote: Sent: Wednesday, December 15, 2010 2:44 PM Subject: Re: [PHP] Error Querying Database On Wed, 2010-12-15 at 13:42 -0500, Gary wrote: I cant seem to get this to connect.  This is to my local testing server, which