MySQL | Does not return the correct value
#1

hello !

here the code:

pawn Код:
SendClientMessage(playerid,c_green,".дъзбшъ магойп бдцмзд");
        format(String,256,"SELECT `AdminLevel` FROM `Users` WHERE `Nick`='%s'",GetName(playerid));
        mysql_query(String);
        mysql_store_result();
        if(mysql_retrieve_row()) Player[playerid][AdminLevel] = mysql_fetch_int();
        mysql_free_result();
this not return the correct value.
this return 0.
please help (:
Reply


Messages In This Thread
MySQL | Does not return the correct value - by EviLpRo - 05.07.2011, 14:29
Re: MySQL | Does not return the correct value - by Ozz - 05.07.2011, 14:32
Re: MySQL | Does not return the correct value - by EviLpRo - 05.07.2011, 14:39
Re: MySQL | Does not return the correct value - by playbox12 - 05.07.2011, 15:04
Re: MySQL | Does not return the correct value - by EviLpRo - 05.07.2011, 15:04

Forum Jump:


Users browsing this thread: 1 Guest(s)