View Single Post
Old 01-22-2008, 03:13 PM   #7 (permalink)
Village Idiot
Wizard
Top Contributor 
 
Village Idiot's Avatar
 
Join Date: Sep 2007
Posts: 1,299
Thanks: 17
Village Idiot is on a distinguished road
Default

Quote:
Originally Posted by sketchMedia View Post
PHP Code:
for($iIndex 0$iIndex count($aMatches[1]); $iIndex++) 
NOOOOOOOOOOOOOOOOOoooooooooooooooooOOOOOOOOOOOOOoo ooo

PHP Code:
$iNumMatches count($aMatches[1]);
for(
$iIndex 0$iIndex $iNumMatches$iIndex++) 
being picky abit there, im just allergic to count() being used there.
You should be because putting it in the for loop executed count each time.
__________________

Village Idiot is offline  
Reply With Quote