Re: [PHP] Adding elements to an array

2001-07-17 Thread Patrik Wallstrom
On Tue, 17 Jul 2001, Sharat Hegde wrote: > Hello, > > I have a requirement to add elements to an associate array dynamically based > on some conditions. I initialize the array with the 1st associate array > element > $MyArray = array('DATETIME' => $DateTime); > > How do I add more elements

RE: [PHP] Adding elements to an array

2001-07-17 Thread Adrian Ciutureanu
$MyArray['BUYVAL'] = 1.23; > -Original Message- > From: Sharat Hegde [mailto:[EMAIL PROTECTED]] > Sent: 17 iulie 2001 13:11 > To: [EMAIL PROTECTED] > Subject: [PHP] Adding elements to an array > > > Hello, > > I have a requirement to add eleme

[PHP] Adding elements to an array

2001-07-17 Thread Sharat Hegde
Hello, I have a requirement to add elements to an associate array dynamically based on some conditions. I initialize the array with the 1st associate array element $MyArray = array('DATETIME' => $DateTime); How do I add more elements to this associate array. I am using PHP 3 and array_me