Why wont this work?
#7

pawn Код:
MySQL_SetFloat(sqlid, fieldname[], Float:value, tablename[])
{
    new query[256];
    format(query, sizeof(query), "UPDATE %s SET %s = %f WHERE id = %d LIMIT 1", tablename, fieldname, value, sqlid);
    return mysql_query(query);
}
There ya go.
Reply


Messages In This Thread
Why wont this work? - by Dokins - 13.09.2011, 18:54
Re: Why wont this work? - by =WoR=Varth - 13.09.2011, 21:19
Re: Why wont this work? - by brett7 - 13.09.2011, 21:24
Re: Why wont this work? - by =WoR=Varth - 13.09.2011, 21:29
Re: Why wont this work? - by Dokins - 13.09.2011, 22:07
Re: Why wont this work? - by FireCat - 13.09.2011, 22:12
Re: Why wont this work? - by Dokins - 13.09.2011, 22:16
Re: Why wont this work? - by Dokins - 13.09.2011, 22:35
Re: Why wont this work? - by FireCat - 14.09.2011, 17:06
Re: Why wont this work? - by Dokins - 14.09.2011, 17:56

Forum Jump:


Users browsing this thread: 2 Guest(s)