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
Badge SQL Query
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="brsy" data-source="post: 61603" data-attributes="member: 2912"><p>That would work, but he would then have to type in all the numbers, way up to 500? Why couldn't he do something like this:</p><p>[PHP]<?php</p><p>$badecode = ""; // Put the badge ID here</p><p></p><p> mysql_query( "UPDATE `user_badges` SET `badge_id` = '" . $badgecode . "' WHERE `user_id` = '" . $id <= 500 . "'" );</p><p>?>[/PHP]</p><p>Put that in a file called <strong>setBadge.php</strong>, and put it onto your server. Once it's on your server, go to it, then you're good to go.</p></blockquote><p></p>
[QUOTE="brsy, post: 61603, member: 2912"] That would work, but he would then have to type in all the numbers, way up to 500? Why couldn't he do something like this: [PHP]<?php $badecode = ""; // Put the badge ID here mysql_query( "UPDATE `user_badges` SET `badge_id` = '" . $badgecode . "' WHERE `user_id` = '" . $id <= 500 . "'" ); ?>[/PHP] Put that in a file called [B]setBadge.php[/B], and put it onto your server. Once it's on your server, go to it, then you're good to go. [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
Server Development
Habbo Retros
Habbo Q&A
Badge SQL Query
Top