My php skills are very limited (I'm still learning) ! So there's a chance to paginate this thing ?
Code:
<?php
$xml = simplexml_load_file("camsx.xml");
foreach($xml->children() as $child){
$gal[$child->getname()] = $child[0];
foreach($child as $ch){
$gal[$ch->getname()] = $ch[0];
}
if($gal['sex']=="Female" && $n < 1000 && $gal['showmode'] == "free"){
?><div id="grid"> <div class="host_box">
<a href="/<? echo $gal['screenname']; ?>" target="_self" "><img src="<? echo $gal['liveimage']; ?>" alt="<? echo $gal['screenname']; ?>"><br>
<? echo $gal['screenname']; ?></a>
</div>
<?php
$n++;
}
}
?></div>
It's just a way I found to parse cams from a XML feed and works just fine but I want to paginate that if is possible any help will be appreciated ! Thanks in advance !