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
[Help] UberCMS Bots Page
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="JayC" data-source="post: 269737" data-attributes="member: 36373"><p><strong><em>I am sure one of you Expert Coders here on devbest can figure out what is wrong with this</em></strong></p><p>This is a screenshot of wth its doing:</p><p><img src="http://i.imgur.com/qdMJYsj.png" alt="" class="fr-fic fr-dii fr-draggable " style="" /></p><p><strong>It's suppose to give a list of MY rooms <em>NOT</em> the welcome rooms! Thanks</strong></p><p>[CODE]</p><p><div class="habblet-container "> </p><p><div class="cbb clearfix pixellightblue "></p><p><h2 class="title">Bot Shop</h2></p><p><div class="box-content"></p><p><div style="text-align: left;"></p><p><div style="padding:5px"></p><p> <form name="form" action="/bots/insert.php" onsubmit="return validateForm();" method="post"></p><p> <span title="Don&#39;t worry about the ID, it has been corrected for you.">Bot ID: </span><br /></p><p> <input type="text" name="id" value="<?php</p><p> $sql = "SELECT * FROM bots ORDER BY id DESC LIMIT 0,1";</p><p> $result = mysql_query($sql);</p><p> $info = mysql_fetch_array($result);</p><p> $id = $info['id'];</p><p> $addition = $id + 1;</p><p> </p><p> echo $addition;</p><p> ?>" readonly /><br /><br /></p><p> </p><p> <span title="Pick your room">Room ID: </span><br /></p><p> <select name="room_id"></p><p> <?php</p><p> $getIDs = mysql_query('SELECT *, caption FROM rooms WHERE owner = "'.$_SESSION['user']['username'].'"');</p><p> </p><p> while($row = mysql_fetch_array($getIDs)){</p><p> echo "<option>";</p><p> echo $row['caption'];</p><p> echo "<br /></option>";</p><p> }</p><p> ?></p><p> </select><br /><br /></p><p> </p><p> <span title="Name">Bot name: </span><br /></p><p> <input type="text" name="name" /><br /><br /></p><p> </p><p> <span title="Motto">Bot motto: </span><br /></p><p> <input type="text" name="motto" /><br /><br /></p><p> </p><p> <span title="Look">Look: </span><br /></p><p> <input type="text" name="look" value="hd-180-7.sh-290-110.lg-270-91.ch-809-62.hr-828-45" /><br /><br /></p><p></p><p> <span title="Position">Coordinates: </span><br /></p><p> X: <input type="number" name="x" /><br /><br /></p><p> Y: <input type="number" name="y" /><br /><br /></p><p> Z: <input type="number" name="z" /><br /><br /></p><p> Rotation: <input type="number" name="rotation" /><br /><br /></p><p> </p><p> <span title="Mode">Walk mode: </span><br /></p><p> <select name="walk_mode"></p><p> <option>stand</option></p><p> <option>freeroam</option></p><p> <option>specified_range</option></p><p> </select><br /><br /></p><p> </p><p> <input type="submit" value="Next Step &raquo" class="submit"></p><p> </form></p><p><script type="text/javascript">if (!$(document.body).hasClassName('process-template')) { Rounder.init(); }</script></p><p></div></p><p></div></p><p></div></div></p><p></div>[/CODE]</p><p>@[USER=37120]Nehalem[/USER] you helped me with my last code issue and Jerry you are pretty smart @[USER=35321]JerryCool[/USER]</p></blockquote><p></p>
[QUOTE="JayC, post: 269737, member: 36373"] [B][I]I am sure one of you Expert Coders here on devbest can figure out what is wrong with this[/I][/B] This is a screenshot of wth its doing: [IMG]http://i.imgur.com/qdMJYsj.png[/IMG] [B]It's suppose to give a list of MY rooms [I]NOT[/I] the welcome rooms! Thanks[/B] [CODE] <div class="habblet-container "> <div class="cbb clearfix pixellightblue "> <h2 class="title">Bot Shop</h2> <div class="box-content"> <div style="text-align: left;"> <div style="padding:5px"> <form name="form" action="/bots/insert.php" onsubmit="return validateForm();" method="post"> <span title="Don't worry about the ID, it has been corrected for you.">Bot ID: </span><br /> <input type="text" name="id" value="<?php $sql = "SELECT * FROM bots ORDER BY id DESC LIMIT 0,1"; $result = mysql_query($sql); $info = mysql_fetch_array($result); $id = $info['id']; $addition = $id + 1; echo $addition; ?>" readonly /><br /><br /> <span title="Pick your room">Room ID: </span><br /> <select name="room_id"> <?php $getIDs = mysql_query('SELECT *, caption FROM rooms WHERE owner = "'.$_SESSION['user']['username'].'"'); while($row = mysql_fetch_array($getIDs)){ echo "<option>"; echo $row['caption']; echo "<br /></option>"; } ?> </select><br /><br /> <span title="Name">Bot name: </span><br /> <input type="text" name="name" /><br /><br /> <span title="Motto">Bot motto: </span><br /> <input type="text" name="motto" /><br /><br /> <span title="Look">Look: </span><br /> <input type="text" name="look" value="hd-180-7.sh-290-110.lg-270-91.ch-809-62.hr-828-45" /><br /><br /> <span title="Position">Coordinates: </span><br /> X: <input type="number" name="x" /><br /><br /> Y: <input type="number" name="y" /><br /><br /> Z: <input type="number" name="z" /><br /><br /> Rotation: <input type="number" name="rotation" /><br /><br /> <span title="Mode">Walk mode: </span><br /> <select name="walk_mode"> <option>stand</option> <option>freeroam</option> <option>specified_range</option> </select><br /><br /> <input type="submit" value="Next Step »" class="submit"> </form> <script type="text/javascript">if (!$(document.body).hasClassName('process-template')) { Rounder.init(); }</script> </div> </div> </div></div> </div>[/CODE] @[USER=37120]Nehalem[/USER] you helped me with my last code issue and Jerry you are pretty smart @[USER=35321]JerryCool[/USER] [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
Server Development
Habbo Retros
Habbo Q&A
[Help] UberCMS Bots Page
Top