[MSQL]Need help a bit.. with explaining how to do it right...
#1

So I need some explanation how can I update this to r39.. Because I need some seriuss help... With this funcition.
EROOR:
pawn Code:
error 017: undefined symbol "mysql_store_result"
error 017: undefined symbol "mysql_num_rows"
pawn Code:
new Query[200], escpname[24];
    mysql_real_escape_string(sendername, escpname);
    format(Query, sizeof(Query), "SELECT * FROM `players` WHERE `Name` = '%s'", escpname);
    mysql_query_ex(Query);
    mysql_store_result();
    if(mysql_num_rows() != 0) //If the user is found
    {
        gPlayerAccount[playerid] = 1;
    }
    else
    {
        gPlayerAccount[playerid] = 0;
    }
Reply


Messages In This Thread
[MSQL]Need help a bit.. with explaining how to do it right... - by Scrillex - 28.03.2015, 06:14
Re: [MSQL]Need help a bit.. with explaining how to do it right... - by DeitY - 28.03.2015, 07:00
Re: [MSQL]Need help a bit.. with explaining how to do it right... - by AndySedeyn - 28.03.2015, 07:36
Re: [MSQL]Need help a bit.. with explaining how to do it right... - by JeaSon - 28.03.2015, 07:46

Forum Jump:


Users browsing this thread: 1 Guest(s)