Is it possible to echo data to the screen as and when it's retrieved from the database during a while loop?
while ($data=mysql_fetch_row($query)) {
echo $data[0];
echo $data[1];
etc
}
which I want to echo each field whenever the row is retrieved. At the moment the browser spins until the script has finished then echos everything at once.
I doubt this is possible since php is parsed server side and waits until the script ends before sending the results back to the browser....but you never know!