in reply to Re: faulty small cgi/mysql login
in thread faulty small cgi/mysql login

There is no insert. There's just one username and password in the admin table and that's setup via the DEFAULT statement.

.... at least I thought that's how it worked.

Replies are listed 'Best First'.
Re^3: faulty small cgi/mysql login
by Animator (Hermit) on Feb 12, 2005 at 17:56 UTC

    Nope,

    The default values are used whenever a value for that particular thingie isn't filled in.

    If there is no data in the table, then the select will always fail.

      Ahh. Well that would explain it then!

      I think I can figure out from here, lol. Thanks!