Another problem with mysql - Load info
#6

pawn Код:
stock LoadPlayerInfo(iPlayer)
{
    new
        Query[700];

    if(mysql_fetch_row(Query))
    {
        sscanf(Query, "e<p<|>s[24]s[24]s[24]s[24]ddd>", PVar[iPlayer]);
        mysql_free_result();
    }
    return 1;
}
In this snippet of code there is no query and no storing of any results, in which case how can you expect to get any information at all? There needs to be a query executed in order to store a result and then fetch the data. I can't see any problem with this except for the fact that I cannot see a query here, where is it?
Reply


Messages In This Thread
[SOLVED] Another problem with mysql - Load info - by scuess - 11.08.2011, 17:09
Re: Another problem with mysql - Load info - by JaTochNietDan - 11.08.2011, 17:10
Re: Another problem with mysql - Load info - by scuess - 11.08.2011, 17:13
Re: Another problem with mysql - Load info - by JaTochNietDan - 11.08.2011, 17:15
Re: Another problem with mysql - Load info - by scuess - 11.08.2011, 17:18
Re: Another problem with mysql - Load info - by JaTochNietDan - 11.08.2011, 17:21
Re: Another problem with mysql - Load info - by scuess - 11.08.2011, 17:25
Re: Another problem with mysql - Load info - by JaTochNietDan - 11.08.2011, 17:29
Re: Another problem with mysql - Load info - by scuess - 11.08.2011, 17:34

Forum Jump:


Users browsing this thread: 1 Guest(s)