For Loops !

From: Date: Mon, 31 Jul 2000 17:08:07 +0000
Subject: For Loops !
Groups: php.general 
Request: Send a blank email to php-general+get-9199@lists.php.net to get a copy of this message
Hello mailing list ! :) Although I have been programming for quite some time now I never really understood for loops even though I use them in almost every script. It has a strange little pattern and I always thought it had another meaning, is this true or is that just how a for loop is structured ? for ($var=0;$var<10;$var++) { } Why does it use semi colons rather than commas ? Is for some kind of function with those three params ? Hmm ... it's probably just me at 3am :) Regards, Matt

« previous php.general (#9199) next »