22.04.2012, 11:31
pawn Код:
new result[128],
idx;
mysql_query("SELECT * FROM table");
mysql_store_result();
while(mysql_fetch_row_format(result) == 1)
{
sscanf(result, "p<|>dddd", id, food, salt, spoon);
Array[idx] = food;
idx++;
}
mysql_free_result();