Jump to content

Sean

Premium
  • Posts

    35
  • Joined

  • Last visited

  • Feedback

    0%

Community Answers

  1. Sean's post in Problem PHP,as incluit md5 in this script was marked as the answer   
    Correct.
    $consulta="SELECT * FROM account WHERE login='".$user."' AND password=PASSWROD('".$pass."')"; to
    $consulta="SELECT * FROM account WHERE login='".$user."' AND password=PASSWORD('".$pass."')"; example:
    $consulta = "SELECT * FROM account WHERE login='".$user."' AND password=PASSWORD('".$pass."')"; $result=mysqli_query($con,$consulta) or die (mysql_error()); $fila=mysqli_fetch_array($result); if($fila > 0) { echo 'succesful'; } else { echo 'failure'; } kind regards.
×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.