Error with Php

Results 1 to 3 of 3
  1. #1
    Novice MsMystery is offline
    MemberRank
    Mar 2017 Join Date
    4Posts

    Error with Php

    Hey there!

    Im trying fix a register from:

    http://forum.ragezone.com/f593/regi-...-files-893328/

    I fixed several issues but I still get this one:

    Spoiler:




    I tried all but I cant fix that... Can anyone help me?

    {
    $query = "INSERT INTO [Account].[dbo].[tAccounts] ([nEMID],[sUsername],[sUserPass],[sUserPassSalt],[sEmail],[nAuthID],[sIP]) VALUES (".rand_string().",'$_POST[username]','$_POST[password]','$_POST[password]','$_POST[email]',3,'127.0.0.1')";
    $q = odbc_exec($connection, $query);
    if($q)
    echo"Username, <b>$_POST[username]</b> has been registered!";
    }
    }
    else
    echo"Please re-enter username and password, remove all special characters!";

    }
    PD: Sorry for my english


  2. #2
    aka saze xteslaz is offline
    MemberRank
    Jul 2014 Join Date
    222Posts

    Re: Error with Php

    Enable odbc extensions in php.ini.

    Verstuurd vanaf mijn SM-G900F met Tapatalk

  3. #3
    Novice MsMystery is offline
    MemberRank
    Mar 2017 Join Date
    4Posts

    Re: Error with Php

    odbc extensions are enable.

    Thanks for reply :)



Advertisement