munchbunch00 Posted October 26, 2013 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
sniko Posted October 26, 2013 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
munchbunch00 Posted October 26, 2013 Author Posted October 26, 2013 Thank you very much, and sorry about that :/ Much appreciated. :) Quote
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.