dini/mysql/hash problem.
#1

pawn Код:
if(fexist(file))
    {
       
        format( query, 256, "INSERT INTO `users` (name, password) \
            VALUES ('%s',%d)"
, name,dini_Int(file,"password"));

        mysql_query( query );
        playerDB[ playerid ][ pSQLID ] = mysql_insert_id( );
       
        LoadFileData(playerid);
    }
i want to insert this in hash: dini_Int(file,"password")

tohash(dini_Int(file,"password")) won't work.

Can anyone help?
Reply
#2

It's unlikely that your password is an integer, change your dini password code to:

pawn Код:
dini_Get(file, "password")
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)