04.02.2011, 16:18
Did you simply replaced the loop?
That can't work - it would have the same effect.
I'll give you an example:
That can't work - it would have the same effect.
I'll give you an example:
pawn Код:
new query[128];
format(query,128,"SELECT * FROM orgvehs ORDER BY VID ASC");
mysql_query(query);
mysql_store_result();
while(mysql_retrieve_row())
{
//Fetch the fields - in each round (can you say round? oO) you will get the next row
}
mysql_free_result();