RE: [PHP] I'm doing something wrong....

From: Date: Wed, 15 May 2002 21:06:14 +0000
Subject: RE: [PHP] I'm doing something wrong....
Groups: php.general 
Request: Send a blank email to php-general+get-97817@lists.php.net to get a copy of this message
When you create an array this way, no numeric indexes are assigned. Matthew Walker Senior Software Engineer ePliant Marketing -----Original Message----- From: Robert Rothe [mailto:rrothe@mindspring.com] Sent: Wednesday, May 15, 2002 2:35 PM To: php-general@lists.php.net Subject: [PHP] I'm doing something wrong.... I've created an array. A very simple array that uses strings as keys. aname['one']=something; aname['two']=something else; Isn't there any way to directly access the 'n'th element? example: aname[0]? I've searched the group, but haven't found anything. Am I missing something or can't this be done? TIA, Rob -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.351 / Virus Database: 197 - Release Date: 4/19/2002

« previous php.general (#97817) next »