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:[EMAIL PROTECTED]] Sent: Wednesday, May 15, 2002 2:35 PM To: [EMAIL PROTECTED] 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 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php