Hey,
Was wondering if you could help me.
Is there a way, and I know three must be, of retrieving a Habbo's Mission/Motto and displaying it using PHP?
Ty
Callum.
Ive tried so many things and it just wont work!

Hey,
Was wondering if you could help me.
Is there a way, and I know three must be, of retrieving a Habbo's Mission/Motto and displaying it using PHP?
Ty
Callum.
Ive tried so many things and it just wont work!
BUMP! Need this urgently :L
I guess it'd be going to the habbos homepage and searching the code for the div or w/e and then use it ?
Hmm... I'll give it a try
That wouldnt work as php is server side, surely u knew that?
And erm... there should be a link of some sort to select it from the db or sumit...
All I could reccommend is looking at a status gen and looking for the motto
I found this:
Lew.PHP Code:function motto()
{
$motto = explode('<div class="profile-motto">', $this->data);
$motto = explode('</div>', $motto[1]);
$motto = trim($motto[0]);
$motto = str_replace(' <div class="clear">', '', $motto);
return $motto;
}
I saw that but its changed since that one was produced
Ty anyway
check the name of the div then and change it...??
Lew.
I said "I guess it'd be going to the habbos homepage and searching the code for the div or w/e and then use it ?"
Using a function of his choice he could request the page. And my dearest Lewiie, surely you knew that the habbo pages are displayed in client side code.
www.habbo.co.uk/home/Callie
Then do explode or w/e to extract the mission.
Don't know where you got php being server side from me saying to go to a habbos homepage and searching the code for the div.
A div is in html code, not php. Surely you knew that?
My bad, i thought you mean fetch the php code from within the div... lol
Lew.
This might help, no ideaCode:if (habbo.IsLoggedIn) { String myMotto = habbo.Motto; habbo.Motto = ("New motto"); // Sets motto to 'New motto' } else { return; // If the user isnt logged in, then return }
stop putting lew after each post its pretty annoying
Want to hide these adverts? Register an account for free!