MySQL help
#2

Why you queried that 3 times? ..
Simply do a one big query, then try. and to save nicks use mysql_real_escapestring
Example:

pawn Код:
stock escpname(playerid)
{
    new escname[24], Pname[24];
    GetPlayerName(playerid, Pname, 24);
    mysql_real_escape_string(Pname, escname);
    return escname;
}
change PlayerName2 to escpname
Reply


Messages In This Thread
MySQL help - by V_LOPE - 01.12.2012, 03:12
Re: MySQL help - by Jarnu - 01.12.2012, 03:41
Re: MySQL help - by ReneG - 01.12.2012, 04:06
Re: MySQL help - by V_LOPE - 01.12.2012, 04:54
Re: MySQL help - by ViruZz - 01.12.2012, 05:03
Re: MySQL help - by V_LOPE - 01.12.2012, 05:09
Re: MySQL help - by ViruZz - 01.12.2012, 05:10
Re: MySQL help - by V_LOPE - 01.12.2012, 05:20
Re: MySQL help - by V_LOPE - 01.12.2012, 06:56
Re: MySQL help - by Vince - 01.12.2012, 08:50

Forum Jump:


Users browsing this thread: 3 Guest(s)