Hi thanks for the reply.
Yes i'm looking to view the live data but the script that actually updates the database only gets submitted once and after reading 5 records from a file, it updates the database or the session with a value in a counter - nothing fancy. But the second script that is supposed to be viewing this counter doesn't read anything till first script has completed.
How do i tell the script to update the database and as you suggest?
Many thanks
Tim
Think I've solved it now by using mysql_unbuffered_query() to insert the records, does anyone have a better way of doing this? I'd be grateful for any suggestions