14.06.2013, 18:20
Hey.
I have this code:
I want to change my mode to R7, but I don't know how to load the data that I choose.
It's working like:
Can you help me?
I have this code:
PHP код:
stock GetSQLPInt(value[], name[])
{
new query3[500];
format(query3, sizeof(query3), "SELECT `%s` FROM `users` WHERE `User`='%s'", value, name);
mysql_function_query(cHandle, query3, false, "", "");
mysql_store_result();
new values = mysql_fetch_int();
mysql_free_result();
return values;
}
It's working like:
PHP код:
GetSQLPInt("Money", "Name");