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
Random VIP HTML
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="Find" data-source="post: 211578" data-attributes="member: 18563"><p>[PHP]<?php</p><p>$GetUsers = mysql_query("SELECT * FROM users WHERE rank >= '2' AND rank <= '4' ORDER BY RAND() LIMIT 6");</p><p>while($Users = mysql_fetch_assoc($GetUsers))</p><p>{</p><p>echo "<div class=\"ContentBox\"><div class=\"BoxHeader\" id=\"blue\">{$Users['name']}</div><div class=\"BoxContent\"><p>";</p><p>$GetUsers = mysql_query("SELECT username,motto,last_online,online,look FROM users WHERE rank >= '2' AND rank <= '4' ORDER BY RAND() LIMIT 6");</p><p>while($Users = mysql_fetch_assoc($GetUsers))</p><p>{</p><p>if($Users['online'] == 1){ $OnlineStatus = "<font color=\"darkgreen\"><b>Online</b></font>"; } else { $OnlineStatus = "<font color=\"darkred\"><b>Offline</b></font>"; }</p><p>echo "<img style=\"position:absolute;\" src=\"http://www.habbo.com/habbo-imaging/avatarimage?figure={$Users['look']}&action=crr=3&direction=2&head_direction=3&gesture=sml&size=2\">"</p><p>."<p style=\"margin-left:80px;margin-top:20px;\"><strong>{$Users['username']}</strong><br>{$Users['motto']}</p>"</p><p>."<p style=\"float:right;margin-top:-30px;margin-right:5px;\">{$OnlineStatus}</p><br><br><br>";</p><p>}</p><p>echo "</p></div></div>";</p><p>}</p><p>?>[/PHP]</p><p> </p><p><span style="color: #000000"><span style="font-family: 'monospace'">try change the php to that</span></span></p></blockquote><p></p>
[QUOTE="Find, post: 211578, member: 18563"] [PHP]<?php $GetUsers = mysql_query("SELECT * FROM users WHERE rank >= '2' AND rank <= '4' ORDER BY RAND() LIMIT 6"); while($Users = mysql_fetch_assoc($GetUsers)) { echo "<div class=\"ContentBox\"><div class=\"BoxHeader\" id=\"blue\">{$Users['name']}</div><div class=\"BoxContent\"><p>"; $GetUsers = mysql_query("SELECT username,motto,last_online,online,look FROM users WHERE rank >= '2' AND rank <= '4' ORDER BY RAND() LIMIT 6"); while($Users = mysql_fetch_assoc($GetUsers)) { if($Users['online'] == 1){ $OnlineStatus = "<font color=\"darkgreen\"><b>Online</b></font>"; } else { $OnlineStatus = "<font color=\"darkred\"><b>Offline</b></font>"; } echo "<img style=\"position:absolute;\" src=\"http://www.habbo.com/habbo-imaging/avatarimage?figure={$Users['look']}&action=crr=3&direction=2&head_direction=3&gesture=sml&size=2\">" ."<p style=\"margin-left:80px;margin-top:20px;\"><strong>{$Users['username']}</strong><br>{$Users['motto']}</p>" ."<p style=\"float:right;margin-top:-30px;margin-right:5px;\">{$OnlineStatus}</p><br><br><br>"; } echo "</p></div></div>"; } ?>[/PHP] [COLOR=#000000][FONT=monospace]try change the php to that[/FONT][/COLOR] [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
Server Development
Habbo Retros
Habbo Q&A
Random VIP HTML
Top