Perfect. Thanks for that. I can't think associative arrays first thing in
the morning. Seems a bit clearer now...
C
-Original Message-
From: Eugene Lee [mailto:[EMAIL PROTECTED]
Sent: 03 October 2003 12:07
To: [EMAIL PROTECTED]
Subject: Re: [PHP] Building associative arrays
On Fri
On Fri, Oct 03, 2003 at 10:22:55AM +0100, [EMAIL PROTECTED] wrote:
:
: I'm trying to build an associative array from a database result. How can I
: assign a new key and value pair
:
: eg
:
: mysql_fetch_row etc
: {
: dbRowCol1 = myarray(key)
: dbRowCol2 = myarray(value)
: }
:
: You get the
2 matches
Mail list logo