SELECT * FROM tabla WHERE mezo1=X ORDER BY mezo2 DESC LIMIT 0, 10
new VersenyzokPenze[10];for(new a = 0; a < 10; a++) {VersenyzokPenze[a] = cache_get_field_int(a, \"Penz\");
mysql_query(\"SELECT * FROM tabla WHERE mezo1=X ORDER BY mezo2 DESC LIMIT 0, 10\");mysql_store_result();new eredm[128];mysql_fetch_row(eredm); //elsõ sor lekérésesscanf(eredm, \"p<|>sd\", nev, penz); //darabolása//Az e felett lévõ két sort ismételgeted.mysql_free_result();