hi im using a jcarousel:
$(document).ready(function() {
$('#mycarousel').jcarousel({
vertical: true,
auto: 3,
wrap: 'circular'
})
})
so it is a circular config , i have a query like this :
$sql=mysql_query("SELECT * FROM my_insujets, my_inmessages WHERE my_insujets.insujets_idforum = my_inmessages.inmessages_idsujet ORDER BY inmessages_date DESC LIMIT 6");
so the carousel shows 3 rows then the other 3 rows, but after this it keeps on in a loop where nothing is showed.
<div id="wrap">
<ul id="mycarousel" class="jcarousel jcarousel-skin-tango">
while($row=mysql_fetch_array($sql) ) { ?>
<li>
<?php echo $row["message"]; ?>
</li>
<?php } ?>
</ul>
</div>