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 Tutorials
How to get all of Habbo's latest badges! (SQL)
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="TesoMayn" data-source="post: 465357" data-attributes="member: 8605"><p>Why do you people use Mega for a six-line script, instead of just embedding it into your post?</p><p>Why echo it, instead of just executing the SQL from the PHP file?</p><p></p><p>And this can also be achieved in one line lol</p><p>[code=php]array_map(function($badge) { echo nl2br("INSERT INTO badge_definitions (`code`, `required_rights`) VALUES ('$badge', '');\n"); }, glob('c_images/album1584/*.{gif,GIF}', GLOB_BRACE));[/code]</p><p></p><p>Edit::</p><p>This title is also misleading, this is how to get SQL for your badges, not how to get all of Habbo's latest badges...</p><p></p><p>The current title would make one presume this is a script that automatically grabs badges from Habbo, which it is not.</p></blockquote><p></p>
[QUOTE="TesoMayn, post: 465357, member: 8605"] Why do you people use Mega for a six-line script, instead of just embedding it into your post? Why echo it, instead of just executing the SQL from the PHP file? And this can also be achieved in one line lol [code=php]array_map(function($badge) { echo nl2br("INSERT INTO badge_definitions (`code`, `required_rights`) VALUES ('$badge', '');\n"); }, glob('c_images/album1584/*.{gif,GIF}', GLOB_BRACE));[/code] Edit:: This title is also misleading, this is how to get SQL for your badges, not how to get all of Habbo's latest badges... The current title would make one presume this is a script that automatically grabs badges from Habbo, which it is not. [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
Server Development
Habbo Retros
Habbo Tutorials
How to get all of Habbo's latest badges! (SQL)
Top