Checking entries one by one

Checking entries one by one

Hy all, I was wondering if you could help me with a little problem.

I have a script that checks the status of multiple usernames at a time but as the list gets bigger and bigger the page load time becomes very long.
I want to determine the script to check a username at a time, at first the #1 username is checked, after the status is returned the #2 username is checked and so on...
Some thing like this but ran for each username, one by one, you get the idea.

Oh, and by the way, the usernames are stored in mysql...
I hope you can point me in the right direction. Cheers!