Menu
Forums
All threads
Latest threads
New posts
Trending threads
New posts
Search forums
Trending
What's new
New posts
New profile posts
Latest activity
Members
Current visitors
New profile posts
Search profile posts
Upgrades
Log in
Register
What's new
Search
Search
Search titles only
By:
All threads
Latest threads
New posts
Trending threads
New posts
Search forums
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
Server Development
Habbo Retros
Habbo Q&A
Staff Stats
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="Detox" data-source="post: 323669" data-attributes="member: 596"><p>I'm trying to get to show the staff stats, how many bans they have made and how many handle cfh they've handled</p><p>I know I would to have to echo them out I believe to have a cleaner code but I need more help</p><p>Here is what I have so far</p><p></p><p>[PHP]</p><p><?php</p><p> $getUserInfo = mysql_query("SELECT * FROM `users` WHERE rank >=4 LIMIT 5");</p><p> while ($userInfo= mysql_fetch_assoc($getUserInfo))</p><p> {</p><p> echo '</p><p></p><p><div style="padding:5px;"></p><p><strong><a href="##">' .$userInfo['username'] . '</a></strong> has banned <strong></strong> users and handled <strong>1</strong> call for help tickets.</p><p><br/></p><p><hr>';</p><p> }</p><p> ?></p><p>[/PHP]</p><p></p><p>Image:</p><p><img src="http://i58.tinypic.com/1rruro.png" alt="" class="fr-fic fr-dii fr-draggable " style="" /></p></blockquote><p></p>
[QUOTE="Detox, post: 323669, member: 596"] I'm trying to get to show the staff stats, how many bans they have made and how many handle cfh they've handled I know I would to have to echo them out I believe to have a cleaner code but I need more help Here is what I have so far [PHP] <?php $getUserInfo = mysql_query("SELECT * FROM `users` WHERE rank >=4 LIMIT 5"); while ($userInfo= mysql_fetch_assoc($getUserInfo)) { echo ' <div style="padding:5px;"> <strong><a href="##">' .$userInfo['username'] . '</a></strong> has banned <strong></strong> users and handled <strong>1</strong> call for help tickets. <br/> <hr>'; } ?> [/PHP] Image: [IMG]http://i58.tinypic.com/1rruro.png[/IMG] [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
Server Development
Habbo Retros
Habbo Q&A
Staff Stats
Top