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
Need help with a few problems
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="Yabbo" data-source="post: 379181" data-attributes="member: 66253"><p>[CODE] <div id="container"></p><p> <div id="content" style="position: relative" class="clearfix"></p><p> </p><p> <div id="column1" class="column" style="float:left;width:400px;padding-top:10px;padding-left:22px;"></p><p> <div class="habblet-container"></p><p> <div class="cbb clearfix orange "></p><p> <h2 class='title' style='font-size:12px;font-family: "Tahoma",Verdana,Arial;'><?php echo mysql_num_rows($getEntries); ?> Guestbook posts</h2></p><p> <div class="box-content" style="padding:10px 10px 0 10px; height:245px; overflow-x:hidden; overflow-y:scroll"></p><p> <div style="align:left;"></p><p> <?php</p><p> // Hent gjestebokinnlegg</p><p> if(mysql_num_rows($getEntries) == 0) {</p><p> echo "<center>There are not posts in this guestbook!</center>";</p><p> } else {</p><p> </p><p> echo '';</p><p> while($Entries = mysql_fetch_array($getEntries)){</p><p> $getUserInfo = mysql_query("SELECT * FROM users WHERE id = '".$Entries['poster_id']."'");</p><p> $userInfo = mysql_fetch_array($getUserInfo);</p><p> echo '<div style="width:400x;overflow:auto;background-color:#fff;border-radius:5px;border-style:solid;border-color:#D9D9D9;border-width:1px;padding:5px;margin-bottom:5px;"></p><p> <div><img src="There was a url here but cant post it ....habbo-imaging/avatarimage?figure='.$userInfo['look'].'" alt="avatar" class="rotate" align="left"></p><p> <br/><br/></p><p> <span style="float:left"><a href="{url}/index.php?url=home&user={username}/'.$userInfo['username'].'">'.$userInfo['username'].'</a> </span></div></p><p> <br></p><p> <div style=""></p><p> <p style="text-align:justify;maxlength=32;overflow:auto;"> '.$Entries['message'].'</p> </div></p><p> </div>';</p><p> }</p><p> echo '';</p><p> }</p><p> ?></div> </div></p><p> </p><p> <div class="linje"></div></p><p> </p><p> <div style="padding: 0 10px"></p><p> <div style='background-color: #F5F5F5;border-radius:5px;padding:5px;'></p><p> <form method='post'></p><p> <textarea name="_fullMessage" style="width:96%; max-width:96%; min-height:80px" ="Write in this guestbook "></textarea></p><p> <br /></p><p> <div align="left"></p><p> <input type='submit' name='_CommentSubmit' value='Add post to guestbook'/></p><p> </form></p><p> </p><p> </div></p><p> </div></p><p> </div></p><p> </div></div>[/CODE]</p><p></p><p><img src="http://i.imgur.com/GzSboXd.jpg" alt="" class="fr-fic fr-dii fr-draggable " style="" /></p><p></p><p>This is the comments logging in the database sorry got the terrible quality i took it on my phone. I have done something wrong but im not sure if i have set it up in the database wrong or on the page code.</p></blockquote><p></p>
[QUOTE="Yabbo, post: 379181, member: 66253"] [CODE] <div id="container"> <div id="content" style="position: relative" class="clearfix"> <div id="column1" class="column" style="float:left;width:400px;padding-top:10px;padding-left:22px;"> <div class="habblet-container"> <div class="cbb clearfix orange "> <h2 class='title' style='font-size:12px;font-family: "Tahoma",Verdana,Arial;'><?php echo mysql_num_rows($getEntries); ?> Guestbook posts</h2> <div class="box-content" style="padding:10px 10px 0 10px; height:245px; overflow-x:hidden; overflow-y:scroll"> <div style="align:left;"> <?php // Hent gjestebokinnlegg if(mysql_num_rows($getEntries) == 0) { echo "<center>There are not posts in this guestbook!</center>"; } else { echo ''; while($Entries = mysql_fetch_array($getEntries)){ $getUserInfo = mysql_query("SELECT * FROM users WHERE id = '".$Entries['poster_id']."'"); $userInfo = mysql_fetch_array($getUserInfo); echo '<div style="width:400x;overflow:auto;background-color:#fff;border-radius:5px;border-style:solid;border-color:#D9D9D9;border-width:1px;padding:5px;margin-bottom:5px;"> <div><img src="There was a url here but cant post it ....habbo-imaging/avatarimage?figure='.$userInfo['look'].'" alt="avatar" class="rotate" align="left"> <br/><br/> <span style="float:left"><a href="{url}/index.php?url=home&user={username}/'.$userInfo['username'].'">'.$userInfo['username'].'</a> </span></div> <br> <div style=""> <p style="text-align:justify;maxlength=32;overflow:auto;"> '.$Entries['message'].'</p> </div> </div>'; } echo ''; } ?></div> </div> <div class="linje"></div> <div style="padding: 0 10px"> <div style='background-color: #F5F5F5;border-radius:5px;padding:5px;'> <form method='post'> <textarea name="_fullMessage" style="width:96%; max-width:96%; min-height:80px" ="Write in this guestbook "></textarea> <br /> <div align="left"> <input type='submit' name='_CommentSubmit' value='Add post to guestbook'/> </form> </div> </div> </div> </div></div>[/CODE] [IMG]http://i.imgur.com/GzSboXd.jpg[/IMG] This is the comments logging in the database sorry got the terrible quality i took it on my phone. I have done something wrong but im not sure if i have set it up in the database wrong or on the page code. [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
Server Development
Habbo Retros
Habbo Q&A
Need help with a few problems
Top