What are the differences fetch_row_format, retrieve_row[MYSQL]
#4

Like I said, mysql_fetch_row fetches the entire row. The fields are separated by the character that you specify.
Those 4 lines that you have there could simply become:

pawn Код:
sscanf(query, "p<|>dd", PlayerSystem[playerid][Key1], PlayerSystem[playerid][Key2]);
Also a very bad practice to fetch all fields in a query if you're only going to use two.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)