Count cache rows - BlueG Plugin
#4

Quote:
Originally Posted by liam1412
Посмотреть сообщение
That returns the rows. I want to know how many rows so I can loop.
Well that's what it does.. it returns the NUMBER of rows in the database..

Example of mysql loop
pawn Код:
new rows,fields;
cache_get_data(rows,fields);
new i;
while(i < rows) {
    // do your stuff
    i++;
}
Reply


Messages In This Thread
Count cache rows - BlueG Plugin - by liam1412 - 04.04.2013, 16:23
Re: Count cache rows - BlueG Plugin - by InfiniTy. - 04.04.2013, 16:25
Re: Count cache rows - BlueG Plugin - by liam1412 - 04.04.2013, 16:29
Re: Count cache rows - BlueG Plugin - by InfiniTy. - 04.04.2013, 16:34
Re: Count cache rows - BlueG Plugin - by liam1412 - 04.04.2013, 16:59

Forum Jump:


Users browsing this thread: 1 Guest(s)