17.04.2013, 19:32
Hy,i have this code and my question is why she dont give me result? she tell me that is 0 result in db,but i know as the result are prezent in db.
Код:
new string[128]; GetPlayerName(playerid,username,sizeof(username)); format(string, sizeof(string), "SELECT * FROM users WHERE name = '%s'", username); mysql_query(string); mysql_store_result(query); new rows = mysql_num_rows(result);