Hello

I want to know how can i display something untill php returns a value

example:

the server is gathering data from several sites Site A , Site B and Site C

while the server is gathering data from Site A i want it to display "gathering data" besides "Site A" and when it returns a value i want it to display "Finished" and the same thing for Site B and Site C.

i know this also will include javascript...

can someone give me alittle help in that i have tried searching and couldn't find any examples

Cheers
Adel