munchbunch00 Posted October 26, 2013 Share Posted October 26, 2013 Hello there I have a login (The free one dave mcauley posted) page that displays "Top 5 Players" & "Top 5 Gangs", it says [1] Some Random Gang [2] Some Random Gang [3] Some Random Gang [4] Some Random Gang [5] Some Random Gang and I dont know how to make it live, same with the top 5 players' can anyone help me pls? Thankyou. Quote Link to comment Share on other sites More sharing options...
sniko Posted October 26, 2013 Share Posted October 26, 2013 $fetch = "SELECT `gangNAME` FROM `gangs` ORDER BY `gangRESPECT` DESC LIMIT 5"; echo '<ol>'; while($r = $db->fetch_row( $db->query($fetch) ) ) { echo '<li>'. $r['gangNAME'] .'</li>'; } echo '</ol>'; Also, it's Macaulay. Quote Link to comment Share on other sites More sharing options...
munchbunch00 Posted October 26, 2013 Author Share Posted October 26, 2013 Thank you very much, and sorry about that :/ Much appreciated. :) Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.