Re: Creating associative array

From: Date: Wed, 05 Feb 2003 12:28:50 +0000
Subject: Re: Creating associative array
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-134394@lists.php.net to get a copy of this message
Try: $image_array = array(); $image_array[$file_name] = $image_url; PHP wrote:
I am trying to create associative array in a while loop.. $image_array = array(); $image_array = array_push("$file_name"=>"$image_url"); what i am doing wrong??????
-- The above message is encrypted with double rot13 encoding. Any unauthorized attempt to decrypt it will be prosecuted to the full extent of the law.

« previous php.general (#134394) next »