Posted by The Natural Philosopher on 09/28/07 03:50
Chenky wrote:
> The plot thickens. The problem isn't on the connect - thats all fine.
> Its the actual query. I echoed the $passw and that was as expected.
> It's not until the query with the die() added to it that that error
> shows up.
>
> Just as a note as an experiment, i did a mysql_num_rows query on the
> $status before the while loop - it returned '1'. So its able to
> execute that query. It's the while loop that was originally
> encountering the problem. Then I tested the $status with a die() and
> it comes up with the error.
>
> My fundamental confusion: it dies with no password recognised, but
> performed the num_rows query?!
>
Mmm.
I suspect a subtle interaction deep in the PHP-MYSQL stuff.
Don't stop. You may have found if not a bug, something worth documenting.
[Back to original message]
|