Jump to content
MakeWebGames

Recommended Posts

Posted

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.

Posted
$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.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...