At 13:28 5-2-03, you wrote:
i agree with the suggestion, but maybe (this may be a stupid newbie comment) this will also work, if you insist on using array_push: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");
$image_array = array_push(array("$file_name"=>"$image_url"));
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php