What is the logic behind returned array key order??

Take this (dummy) data submitted by a web form:

email=katir%40hindu.org&2+First=Siva&3+Last=Katirswami&4+add1=107+Kaholalele
+Road&5+add2=Tampines+Quarter&6+add3=+Nottingham+Sector&7+City=Kapaa&8+US_St
ate=HI&9+foreign_state=&10+Zip=96746&11+Country=USA&12+Phone=808-822-7032&13
+body=What+a+wonderful+web+site%21

process with this script:

  split aboveData by "&" and "="
  put the keys of aboveData

returns:

5 add2
7 City
8 US_State
9 foreign_state
10 Zip
12 Phone
11 Country
4 add1
3 Last
email
13 body
2 First
6 add3

?? returned order bears no relation whatsoever to input order?? why? and
what is the algorithm for the order of the keys returned? How to control it?

TIA!

Hinduism Today

Sivakatirswami
Editor's Assistant/Production Manager
[EMAIL PROTECTED] 
www.HinduismToday.com, www.HimalayanAcademy.com,
www.Gurudeva.org, www.hindu.org

Read The Master Course Lesson of the Day at
http://www.gurudeva.org/lesson.shtml

_______________________________________________
metacard mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/metacard

Reply via email to