PIPARIns :* Posted July 4, 2010 Report Share Posted July 4, 2010 <?php $result = mysql_query("SELECT name,posts FROM ibf_members ORDER BY posts DESC LIMIT 10"); ?> <table id='admintop'> <tr> <th style="text-align:center">Lietotājs</th> <th style="text-align:center">Posti</th> </tr> <?while($row = mysql_fetch_array($result)){$useris = $row['name'];$skaits = $row['posts'];?> <tr> <td style="text-align:center"><?=$useris?></td> <td style="text-align:center"><?=$skaits?></td> </tr> <?}?> </table> Ceru ka kādam noderēs. Link to comment Share on other sites More sharing options...
daGrevis Posted July 4, 2010 Report Share Posted July 4, 2010 Nu nav jēgas kaut kādai daļai no kaut kāda koda! =( Ja reāli ko māki - uzkodē savu web aplikāciju un palaid apgrozībā ka OSS. =) Link to comment Share on other sites More sharing options...
sandis_m Posted July 4, 2010 Report Share Posted July 4, 2010 Nu nav jēgas kaut kādai daļai no kaut kāda koda! =( Ja reāli ko māki - uzkodē savu web aplikāciju un palaid apgrozībā ka OSS. =) Da ko tu? (giggle) es jau sen šādu skriptu meklēju (laughing) Link to comment Share on other sites More sharing options...
GB. Posted July 4, 2010 Report Share Posted July 4, 2010 wtf ?? Link to comment Share on other sites More sharing options...
werd Posted July 4, 2010 Report Share Posted July 4, 2010 (edited) SELECT * FROM members Cerams, kādam noderēs! P.S Nevajag veidot jaunas, bezjēdzīgas tēmas ar www.google.lv koda piemēriem! Edited July 4, 2010 by werd Link to comment Share on other sites More sharing options...
bubu Posted July 4, 2010 Report Share Posted July 4, 2010 Norādam sourci, no kuras ņemam skriptu! http://php.lv/f/topic/16775-login-skripts-un-topposters-kaut-kas-nau-ka-vaig/page__p__131303 Link to comment Share on other sites More sharing options...
Recommended Posts