_Yu-Gi-Oh__ Posted June 26, 2007 Report Share Posted June 26, 2007 Man vajadzētu zināt kodu, lai skaitļi sakartotos dilstošā secībā. Link to comment Share on other sites More sharing options...
andrisp Posted June 26, 2007 Report Share Posted June 26, 2007 Ja tos skaitļus ņem no MySQL, tad pieprasījumam piekabini klāt ORDER BY lauka_nosaukums ASC. Ja tev tie skaitļi iekš masīva, tad izmanto http://lv2.php.net/asort vai kaut ko tādu. PS. Nākamreiz esi specifiskāks par problēmu. Link to comment Share on other sites More sharing options...
Exzo Posted June 26, 2007 Report Share Posted June 26, 2007 Kādi skaitļi? Masīvā? Link to comment Share on other sites More sharing options...
_Yu-Gi-Oh__ Posted June 26, 2007 Author Report Share Posted June 26, 2007 Nezinu kā paskaidrot.. Webs te - http://gonzoandjon.oo.lv (pievērsiet uzmanību monitoram (serveru listei)). Vajag lai viņu Score būtu dilstošā secībā... Link to comment Share on other sites More sharing options...
andrisp Posted June 26, 2007 Report Share Posted June 26, 2007 Neredzu tur nevienu serveru listi. Tikai viens serveris tur vien ir. Link to comment Share on other sites More sharing options...
_Yu-Gi-Oh__ Posted June 26, 2007 Author Report Share Posted June 26, 2007 spēlētāju listei - viņu rezultāti ir sajautiki piem 4 8 3 1 es gribu 8 4 3 1 Link to comment Share on other sites More sharing options...
andrisp Posted June 26, 2007 Report Share Posted June 26, 2007 Iemet iekš paste.php.lv to kodu, kas izdrukā spēlētāju listi. Link to comment Share on other sites More sharing options...
_Yu-Gi-Oh__ Posted June 27, 2007 Author Report Share Posted June 27, 2007 http://paste.php.lv/5725 Link to comment Share on other sites More sharing options...
des Posted June 27, 2007 Report Share Posted June 27, 2007 A no kurienes datus ņem šitā funkcija (lgsl_query): $player_list = lgsl_query($get_ip, $get_port, $get_type, "players"); ? Link to comment Share on other sites More sharing options...
Recommended Posts