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
Software Development
Programming
Programming Q&A
Users rooms.
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="Brad" data-source="post: 259778" data-attributes="member: 17995"><p>should work </p><p></p><p>[CODE]<?php </p><p>$getRooms = mysql_query("SELECT `caption`,`description` FROM `rooms` WHERE `owner` = '".filter($_GET['username'])."'");</p><p>if (mysql_num_rows($getRooms) == 0) {</p><p> echo 'You do not have any rooms<div class="clear"></div>';</p><p>} else {</p><p>?><?php</p><p>while ($roomData = mysql_fetch_array($getRooms)) {</p><p>$roomDescription = null;</p><p>if ($roomData['description'] == null)</p><p> $roomDescription = 'No room description!';</p><p>else</p><p> $roomDescription = $roomData['description'];</p><p> echo '<tr></p><p><td valign="top" ></p><p> <div class="room_image"></p><p> <img src="{url}/app/tpl/skins/Habbo/web-gallery/images/myhabbo/rooms/room_icon_open.gif" alt="" align="middle"/></p><p> </div></p><p></td></p><p><td></p><p> <div class="room_info"></p><p> </p><p> <div class="room_name"></p><p> '.$roomData['caption'].'</p><p> </div></p><p> <img id="room-63773258-report" class="report-button report-r"</p><p> alt="report"</p><p> src="{url}/app/tpl/skins/Habbo//web-gallery/images/myhabbo/buttons/report_button.gif"</p><p> style="display: none;" /></p><p> <div class="clear"></div></p><p> <div>'.$roomDescription.'</p><p> </div></p><p> <!--a href="http://www.habbo.com/client?forwardId=2&amp;roomId=63773258"</p><p> target="72f577c250db9e5c22a5880ef8cb10f8ad18d7b6"</p><p> id="room-navigation-link_63773258"</p><p> onclick="HabboClient.roomForward(this, \'63773258\', \'private\', true); return false;"></p><p> enter room</p><p> </a--></p><p> </div></p><p> </p><p></p><p> <br class=\"clear\" /></p><p></p><p></td></p><p></tr>';</p><p>}</p><p>?></p><p></table></p><p></div></p><p></p><p><?php } ?>[/CODE]</p></blockquote><p></p>
[QUOTE="Brad, post: 259778, member: 17995"] should work [CODE]<?php $getRooms = mysql_query("SELECT `caption`,`description` FROM `rooms` WHERE `owner` = '".filter($_GET['username'])."'"); if (mysql_num_rows($getRooms) == 0) { echo 'You do not have any rooms<div class="clear"></div>'; } else { ?><?php while ($roomData = mysql_fetch_array($getRooms)) { $roomDescription = null; if ($roomData['description'] == null) $roomDescription = 'No room description!'; else $roomDescription = $roomData['description']; echo '<tr> <td valign="top" > <div class="room_image"> <img src="{url}/app/tpl/skins/Habbo/web-gallery/images/myhabbo/rooms/room_icon_open.gif" alt="" align="middle"/> </div> </td> <td> <div class="room_info"> <div class="room_name"> '.$roomData['caption'].' </div> <img id="room-63773258-report" class="report-button report-r" alt="report" src="{url}/app/tpl/skins/Habbo//web-gallery/images/myhabbo/buttons/report_button.gif" style="display: none;" /> <div class="clear"></div> <div>'.$roomDescription.' </div> <!--a href="http://www.habbo.com/client?forwardId=2&roomId=63773258" target="72f577c250db9e5c22a5880ef8cb10f8ad18d7b6" id="room-navigation-link_63773258" onclick="HabboClient.roomForward(this, \'63773258\', \'private\', true); return false;"> enter room </a--> </div> <br class=\"clear\" /> </td> </tr>'; } ?> </table> </div> <?php } ?>[/CODE] [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
Software Development
Programming
Programming Q&A
Users rooms.
Top