I made a scrolling news with php and mysql.
You can see from here.
as you see each record on database scrolls and all records are seen at text area.
what i want to do is each record must be seen one by one.
e.g. first record must be seen 2-3 seconds then second record and so on.
there are many samples with javascript but i couldnt adapt them to my this php-mysql work. and couldnt find an example for mysql.
how can do that?
I think i need a javascript code to do this and some code change at my index.php file.
my index.php code :
<?php include "connect.php"; ?>
<marquee direction="up" scrolldelay="35" width="240" height="100" style="background:#996; border:5px double #069; text-align: center; font-family: Arial; color: #000000; font-size: 13pt" scrollamount="1" truespeed="truespeed" class="duyuru" id="news" onmousemove="stop()" onmouseout="start()" >
<?php
include("connect.php");
$sorgu = mysql_query("SELECT * FROM scrollnews");
while ( $oku=mysql_fetch_assoc($sorgu) ) {
echo $oku['news'];
echo "<br>";
}
?>
</marquee>