mysq | What's the problem ?
#1

hello.

what it's problem in this code:

pawn Код:
stock GetServerInt(var[])
{
    new query[256],vreturn[56];
    format(query,256,"SELECT '%s' FROM 'server' WHERE Checked=50",var);
    mysql_query(query);
    mysql_store_result();
    mysql_fetch_row_format(vreturn,"|");
    return strval(vreturn);
}
It does not return the correct value.

please help !!
Reply


Messages In This Thread
mysq | What's the problem ? - by EviLpRo - 22.06.2011, 16:59
Re: mysq | What's the problem ? - by Donya - 22.06.2011, 17:30
Re: mysq | What's the problem ? - by EviLpRo - 22.06.2011, 17:35
Re: mysq | What's the problem ? - by gabitzu4ever - 22.06.2011, 17:35

Forum Jump:


Users browsing this thread: 1 Guest(s)