Re: SQL query isn't executing... grr!
| From: | Todd Williamsen | Date: | Wed, 07 Nov 2001 18:40:28 +0000 |
| Subject: | Re: SQL query isn't executing... grr! | ||
| References: | 1 2 3 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-10276@lists.php.net to get a copy of this message | ||
Julie,
Well, when I do it by your code in your book I get errors, but if I do it
the way PHP says to do it, I don't.
"Todd Williamsen" <todd@williamsen.net> wrote in message
news:20011107155011.49586.qmail@pb1.pair.com...
> Julie, now I get "No Database Selected" weird... I didn't tell it to do
> that
> "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
> >
>
>