Hello, I got a loop which reads data from mysql server. My server is fine the speed and all but when it comes to looping around 5000 strings it's too slow.

How can I make this loop quicker :



Please help me out