Re: SQL query isn't executing... grr!
| From: | Todd Williamsen | Date: | Wed, 07 Nov 2001 16:53:50 +0000 |
| Subject: | Re: SQL query isn't executing... grr! | ||
| References: | 1 2 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-10271@lists.php.net to get a copy of this message | ||
Well Julie...
I am able to connect to the database, but when I use this line I get a parse
error:
$connection = @mysql_connect("localhost", "admin", "lck77")or
die("Could not
Connect.");
"Julie Meloni" <julie@thickbook.com> wrote in message
news:1181472122.20011107073445@thickbook.com...
> Wednesday, November 07, 2001, 7:32:55 AM, you wrote:
>
> TW> Ok, I am new to this PHP/mySQL scene, but am pretty proficient at MS
based
> TW> SQL and ASP
>
> TW> I have a mySQL database called FF and a table called tblmembers. Now,
I
> TW> wanted to do login and user authentication to the database and I came
up
> TW> with this script.
>
> TW> What happens is that the sql query cannot execute, thus the message
> TW> "Couldn't Execute the Query"
>
>
> Replace the nice, safe, not-scary message in die() with mysql_error())
> to see the real error.
>
> - Julie
>
> --> Julie Meloni
> --> julie@thickbook.com
> --> www.thickbook.com
>