No...
You wrote :
for(...) {
while(...) {
}
}
So, the while statement will execute completely BEFORE the for statement increments its value...
So what happens is this...
for($i=0; $i<count(...); $i++) {
So at the moment, $i = 0
while($r=mysql_fetch_array($result)){
And here, the while statement while execute completely, from the very first result to the very last...
So this statement...
echo "pausecontent[$i]=<span class='title'>» $title<br></span><span class='date'>$date<br></span><span class='content'>$blurb<br><br></span>";
...will always return pausecontent[$i] because $i is still zero !
Then the while statement has completely executed itself...
Now $i (= 0) can be $i + 1 (= 1)...
Now we hit the while statemen()... we already called it completely, so it returns false, so no output...
Now $i (= 1) can be $i + 1 (= 2)...
Now we hit the while statemen()... we already called it completely, so it returns false, so no output...
Now $i (= 2) can be $i + 1 (= 3)...
AND SO ON !!