[PHP] Re: foreach questions

2008-01-01 Thread jekillen
On Jan 1, 2008, at 11:59 AM, Martin Jerga wrote: Hello, the problem is in this part of code $key - $value This notation means that you are trying to access property $value on the object $key. Just replace it with $key = $value and you will get the result as expected. Martin J Thank

[PHP] Re: foreach questions

2008-01-01 Thread Martin Jerga
Hello, the problem is in this part of code $key - $value This notation means that you are trying to access property $value on the object $key. Just replace it with $key = $value and you will get the result as expected. Martin J jekillen wrote / napĂ­sal(a): Hello; I have this section of

Re: [PHP] Re: foreach questions

2008-01-01 Thread Richard Lynch
Hit send too soon. Sorry! On Tue, January 1, 2008 2:05 pm, jekillen wrote: Several questions: How long can an index be in an associative array? (the indexes I use in this array are 32 character hashes) As far as I know, it can be as big as your RAM will hold... Can it start with a number

Re: [PHP] Re: foreach questions

2008-01-01 Thread jekillen
On Jan 1, 2008, at 3:34 PM, Richard Lynch wrote: Hit send too soon. Sorry! On Tue, January 1, 2008 2:05 pm, jekillen wrote: Several questions: How long can an index be in an associative array? (the indexes I use in this array are 32 character hashes) As far as I know, it can be as big as