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
$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
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
3 matches
Mail list logo