[MySQL]Selecting multiple rows' info
#8

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();
Reply


Messages In This Thread
[MySQL]Selecting multiple rows' info - by [MG]Dimi - 22.04.2012, 10:52
Re: [MySQL]Selecting multiple rows' info - by Hiddos - 22.04.2012, 10:56
Re: [MySQL]Selecting multiple rows' info - by [MG]Dimi - 22.04.2012, 10:58
Re: [MySQL]Selecting multiple rows' info - by Richie© - 22.04.2012, 11:04
Re: [MySQL]Selecting multiple rows' info - by [MG]Dimi - 22.04.2012, 11:06
Re: [MySQL]Selecting multiple rows' info - by Vince - 22.04.2012, 11:14
Re: [MySQL]Selecting multiple rows' info - by [MG]Dimi - 22.04.2012, 11:28
Re: [MySQL]Selecting multiple rows' info - by Macluawn - 22.04.2012, 11:31
Re: [MySQL]Selecting multiple rows' info - by [MG]Dimi - 22.04.2012, 13:58

Forum Jump:


Users browsing this thread: 1 Guest(s)