Re: [PHP] Associative array key as a variable

2002-02-23 Thread Andrey Hristov
TED]> To: <[EMAIL PROTECTED]> Sent: Saturday, February 23, 2002 7:31 PM Subject: [PHP] Associative array key as a variable > Hi. > > I have the following PHP program executed from an HTML form where I pass > the associative array key name as a variable: > > fu

[PHP] Associative array key as a variable

2002-02-23 Thread ejfs
Hi. I have the following PHP program executed from an HTML form where I pass the associative array key name as a variable: "; } show("countries"); show("cities"); ?> The result is always 0. The form fields do have name=countries[] and name=cities[] to indicate an array. When I hardcode the coun