Problem Array

Whats happened?? it doesn’t output the numbers correctly it should look like this:
pausecontent[0]=» title1
pausecontent[1]=» title2
pausecontent[2]=» title3

NOT this:
pausecontent[0]=» title1
pausecontent[0]=» title2
pausecontent[0]=» title3


<?
include ("connect.php");
$result = mysql_query("select * from news ");
$count = mysql_num_rows($result);

for ( $i=0; $i <= $count; $i++) {
    while($r=mysql_fetch_array($result)){
        $title=$r["title"];
        $blurb=$r["blurb"];
        $nid=$r["nid"];
    
        echo "pausecontent[$i]=<span class='title'>&raquo; $title<br></span><span class='date'>$date<br></span><span class='content'>$blurb<br><br></span>";
    }
}
?>