Quote:
Originally Posted by sarettah
echo '<div id="roomname_b"> ';
echo "<img src=" . imageurl .">";
echo $username .' is online <div class="site"> ';
echo '</div></span>';
Where imageurl is the image src element from the xml object. I do not remember the field name in the chaturbate feed right now.
.
|
image_url
not working man

.. i have been doing this for 24 hrs
its not working with bonga too
<?php
$cams = new SimpleXMLElement('http://tools.bongacash.com/promo.php?c=aff&type=api&api_type=xml', null, true);
$online = false;
foreach ($cams->xpath('//username') as $username) {
if ($username == "SweetladyX" || $username == "Marusyya" || $username == "ukrainka" || $username == "AngelicRos3"){
echo '<div id="roomname_c"> ';
echo "<img src=" . profile_images>thumbnail_image_small_live .">";
echo $username .' is online <div class="site"> BongaCam ';
echo '</div></span>';
$online = true;
}
}
if (!$online) echo ' <div id="null"><strong><br> No rooms online Bongacams. <br/></strong></div>';
?>
i'm giving u 0.002636 btc if u can get it right
