> I have a program where I process more that 5000 list of 100 data at time > but it very slow due to many *for statement*s. how you make it run faster code for statements to use a variable or contant for testing in every iteration like below for ($i = 0; $i < 100; $i++) {} also try to optimize the operations inside the for loop. or maybe better to post snippets. Virgil http://www.jampmark.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php