let me try and rephrase that!:D
all news stories are obatined from a DB using a while loop and stored in an array:-
while($row1 = mysql_fetch_array($result,MYSQL_ASSOC))
{
$values[] = $row1[newstitle];
$desc[] = $row1[newsdescription];
$pic[] = $row1[newspicture];
}
so there i have all the news stories and pictures in variables.
i can then display the values of the array:-
echo $values[0];
echo $desc[0];
but what i want is to display the contents of the array periodically. So first to be displayed would be:-
echo $values[
0];
echo $desc[
0];
then after three seconds the red value is incremented by 1. This will then display the second news story.....and so on!
until it reaches the final value in the array, at this point the value is reset to zero and the process starts again!
Hope this is a better explanation of what i want?!
Thanks
Ash
