Re: help with login script
| From: | R'twick Niceorgaw | Date: | Thu, 22 May 2003 19:36:18 +0000 |
| Subject: | Re: help with login script | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-148626@lists.php.net to get a copy of this message | ||
have you tried to copy the sql statement and pasted it onto a mysql prompt
and see what result it is returning ?
----- Original Message -----
From: "Leif K-Brooks" <eurleif@buyer-brokerage.com>
To: "Tyler Longren" <tyler@jdhost.com>
Cc: "karl james" <karl.james@verizon.net>; <php-general@lists.php.net>
Sent: Thursday, May 22, 2003 3:13 PM
Subject: Re: [PHP] help with login script
> Essentially, the error is that mysql_query() returns true from his
> query, instead of a result resource.
>
> Tyler Longren wrote:
>
> >----- Original Message -----
> >From: "karl james" <karl.james@verizon.net>
> >To: <php-general@lists.php.net>
> >Sent: Thursday, May 22, 2003 4:58 AM
> >Subject: [PHP] help with login script
> >
> >
> >
> >
> >>This is my error
> >>-------------------
> >>SELECT password FROM auth_users WHERE username = 'kjames1973'
> >>
> >>
> >>===================================================================
> >>
> >>this is my code
> >>-------------------
> >>http://nopaste.php-q.net/16068
> >>
> >>
> >>==================================================================
> >>
> >>Karl James
> >>karl.james@verizon.net
> >>ultimatefootballleague.com/index.php
> >>
> >>
> >
> >SELECT password FROM auth_users WHERE username = 'kjames1973'
> >
> >That's not an error, it's sql. Now what's your real error? ;)
> >
> >Tyler Longren
> >
> >
> >
> >
>
> --
> The above message is encrypted with double rot13 encoding. Any
unauthorized attempt to decrypt it will be prosecuted to the full extent of
the law.
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>