我试图找到如何从数据库中提取数据后滑动数据块.
$query="select * from testimonial order by r_id desc";
$result = mysqli_query($conn, $query);
while($row=mysqli_fetch_array($result)){
?>
}
?>
$(document).ready(function() {
$('.flexslider').carousel({
interval: 3200
});
});
它已经花了我的时间,但我没有得到解决方案.这个代码只能逐行显示数据
my code output
"Loving Staff Welcoming and helpful... Kind and welcome the food is great. Breakfast included."
"Total value for money."
"Excellent facilities with good location and very co-operative and efficient staff."
"Accommodation worth the money paid for... Staff were very helpful and in-house car hire rates were so reasonable."
"An excellent stay... Loved the stay and definitely look forward to keep going back for our next stay."
它一个接一个地显示数据.但我想显示第一行数据,然后滑动后需要显示第二行.然后滑动第三行.
请帮我找到解决方案