RE: [PHP] Numbered Arrays

From: Date: Mon, 25 Feb 2002 21:59:48 +0000
Subject: RE: [PHP] Numbered Arrays
Groups: php.general 
Request: Send a blank email to php-general+get-86165@lists.php.net to get a copy of this message
Put it in a for loop and add data to the array. Example: for( $i = 0; $i < 24; $i++) { $arr[$i] = "Data here."; } This is one of the fastests; however, there are other ways as well. Ray Hunter Firmware Engineer ENTERASYS NETWORKS -----Original Message----- From: Phillip S. Baker [mailto:phillip@freewolf.net] Sent: Monday, February 25, 2002 2:56 PM To: PHP Email List Subject: [PHP] Numbered Arrays What is the quick way to generate numbered arrays? I cannot seem to find it in my documentation. Looking to generate and populate an array with the numbers 0-23. Thanks Phillip -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

« previous php.general (#86165) next »