code:
<?php
$query = "select * from latest_news limit 0,10";
$fet = mysqli_query($link,$query);
while ($fetch = mysqli_fetch_array($fet))
{
$news_title = $fetch['news_title'];
}
?>
html code:
<marquee onmouseover="this.stop();" onmouseout="this.start();">
<h3 id="news-h3"><?php echo $news_title; ?></h3>
</marquee>
I am diplaying news_title using marquee but here only one data are showing. I want to display all news_title one by one. So, how can I do this.
Thank You