I have a problem the php code works not on my website
i wil the image by the profile hi give him not
the image info is http://www.habbobeat.nl/habbo-imagin...b208981645.gif
}
function getHabboFigure($Home) {
if(!$Home) {
return false;
} else {
$figureStart = explode('<div class="profile-figure">', $Home);
$figureEnd = explode('</div>', $figureStart[1]);
$figureTrim = trim($figureEnd[0]);
$figure = preg_replace('/<img alt=\"(.*?)\" src=\"(.*?)\" \/>/', '$2', $figureTrim);
$hotelStart = explode('<div id="habbologo"><a href="', $Home);
$hotelEnd = explode('/"></a></div>', $hotelStart[1]);
$hotel = trim($hotelEnd[0]);
$figure = $hotel . $figure;
return $figure;
}
thnx for help its from dutch
Moved by Meti (Forum Moderator) from "Designing and Development": Please post in the correct forum next time, thanks![]()






Reply With Quote
