Results 1 to 3 of 3
  1. #1
    Join Date
    Oct 2004
    Posts
    7

    Unanswered: Trouble Logging into My App in PHP-MySQL

    Hello!

    If I store a password with password on feature
    in the MySql DB I am unable to login?
    However, If I store password as plain simple text
    it works? I assumed it should not make much of a difference...

    whats going on?

    Any Help!

    Thanks,
    Sean

  2. #2
    Join Date
    Sep 2004
    Posts
    46
    when you verify password in db use this: "select username from mytable where password=password(mypassword)"

  3. #3
    Join Date
    Oct 2004
    Posts
    7
    Hello! Christiu,

    Thanks! for a prompt reply...
    This is what I have...still doesn't work...

    "SELECT name FROM login WHERE username = '" . $username . "' AND password = password('" . $password . "')";

    Thanks,
    Sean

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •