How do i do this loop array man ?
And isn't if($i == 10) break; doing the job for limiting to 10 ?

I've tried google but nothing substantially...