Change passwd with mysqli

Results 1 to 1 of 1
  1. #1
    Account Upgraded | Title Enabled! shadowvzs is offline
    MemberRank
    Jul 2007 Join Date
    RomaniaLocation
    678Posts

    Change passwd with mysqli

    this worked with old mysql querys but not with mysqli, maybe because mysqli put automatical $Salt into ""

    Code:
    $GetAccountInfo = Mysql_Query("SELECT * FROM users WHERE name = '$CurUnam'");
    Mysql_Query("CALL changePasswd ($GetAccountInfo->quoteSmart'$CurUnam', $Salt2)");
    any ideea how can i make it work with mysqli?

    i solved by removed the $GetAccountInfo->quoteSmart part
    Last edited by shadowvzs; 16-11-16 at 10:13 PM.




Advertisement