simple array question

From: Date: Mon, 27 May 2002 10:46:56 +0000
Subject: simple array question
Groups: php.general 
Request: Send a blank email to php-general+get-99350@lists.php.net to get a copy of this message
in javascript i can build an array doing like this: for(i=0; i < whatEver.length; i++){ myArray[myArray.length] = //.... } What is the equivalent to this in PHP? Is this the only way: $myArray[count($myArray)] = //.. /J

« previous php.general (#99350) next »