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
MYSQL query on emu
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="ForgivER" data-source="post: 459720" data-attributes="member: 93287"><p>Hi,</p><p></p><p>Stuck a bit on a mysql query and looking for some help</p><p></p><p>Looking to make it so that if you use command :sell in a room that already had APARTMENT it adds FORSALE to room description for current room ID in rooms_data via mysql so that it updates the current room description to APARTMENT FORSALE. Tried with a few sql queries with no luck</p><p></p><p>Any ideas? Thankyou <img src="/styles/default/xenforo/smilies/emojione/smile.png" class="smilie" loading="lazy" alt=":)" title="Smile :)" data-shortname=":)" /></p><p>[automerge]1588166268[/automerge]</p><p>This is what I have at the moment - unsure as to why it isnt working</p><p></p><p>dbClient.RunFastQuery("UPDATE `rooms_data` SET `description` = 'FORSALE' WHERE `id` = '" + Session.JobManager().CurrentRoom.RoomId + "'");</p></blockquote><p></p>
[QUOTE="ForgivER, post: 459720, member: 93287"] Hi, Stuck a bit on a mysql query and looking for some help Looking to make it so that if you use command :sell in a room that already had APARTMENT it adds FORSALE to room description for current room ID in rooms_data via mysql so that it updates the current room description to APARTMENT FORSALE. Tried with a few sql queries with no luck Any ideas? Thankyou :) [automerge]1588166268[/automerge] This is what I have at the moment - unsure as to why it isnt working dbClient.RunFastQuery("UPDATE `rooms_data` SET `description` = 'FORSALE' WHERE `id` = '" + Session.JobManager().CurrentRoom.RoomId + "'"); [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
Server Development
Habbo Retros
Habbo Q&A
MYSQL query on emu
Top