Re: [PHP] unable to use vars in foreach [updated question]

2004-11-14 Thread Ryan King
On Sunday, November 14, 2004, at 08:44PM, Jonathan Villa <[EMAIL PROTECTED]> wrote: >So, searching php.net (I swear I did before...) > >I found this at http://us2.php.net/language.types.array > >" You cannot use arrays or objects as keys. Doing so will result in a >warning: Illegal offset type.

Re: [PHP] unable to use vars in foreach [updated question]

2004-11-14 Thread Jonathan Villa
So, searching php.net (I swear I did before...) I found this at http://us2.php.net/language.types.array " You cannot use arrays or objects as keys. Doing so will result in a warning: Illegal offset type." Neverthought that my var was an object, just thought maybe a string. My new question is, h