[PHP] Array confusion.

2001-03-22 Thread Sterling
H- I'm kinda new to the PHP scene so if the below plea for help is incredibly simple ... well.. What can I say? I'm stuck. I've been on the PHP website for the last hour reading the documentation on arrays and all the functions associated with it but have yet to find a straight forward explaina

Re: [PHP] Array confusion.

2001-03-22 Thread CC Zona
In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] (Sterling) wrote: > $m = "03"; > $list = array(01=>"Jan", 02=>"Feb", 03=>"Mar", 04=>"Apr", 05=>"May", > 06=>"Jun", 07=>"Jul", 08=>"Aug", 09=>"Sep\", 10=>"Oct", 11=>"Nov", > 12="Dec"); > $month = $list[$m]; > print "$month\n"; > > What I want

RE: [PHP] Array confusion.

2001-03-22 Thread Altunergil, Oktay
ds) oktay -Original Message- From: Sterling [mailto:[EMAIL PROTECTED]] Sent: Thursday, March 22, 2001 2:46 PM To: [EMAIL PROTECTED] Subject: [PHP] Array confusion. H- I'm kinda new to the PHP scene so if the below plea for help is incredibly simple ... well.. What can I say? I'm

Re: [PHP] Array confusion.

2001-03-22 Thread Sterling
H- Thanks to all that wrote in with input on this issue. I really appreciate the assistance. Thanks to CC Zona and James for the code sample. It looks like there were typo's in my code and it threw me for a minute after recieving/applying all the emails. That backslash wasn't suppose to be i