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

Hello.
I wanted to ask you a question about mysql_fetch_row_format and mysql_retrieve_row.
I did it for example and both working:
pawn Код:
format(query, sizeof(query), "SELECT * FROM `users` WHERE `User`='%s'", GetName(playerid));
mysql_query(query);
mysql_store_result();
while(mysql_fetch_row_format(query, "|")) OR while(mysql_retrieve_row())
{
    mysql_fetch_field_row(loadstr[0], "Key1");
    mysql_fetch_field_row(loadstr[1], "Key2");
    PlayerSystem[playerid][Key1] = strval(loadstr[0]);
    PlayerSystem[playerid][Key2] = strval(loadstr[1]);
}
mysql_free_result();
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 4 Guest(s)