Re: Populating array with function

From: Date: Tue, 27 Feb 2007 12:09:20 +0000
Subject: Re: Populating array with function
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-249486@lists.php.net to get a copy of this message
Brad Bonkoski wrote:
           $files[] = $entry;
perhaps look into the array_push() function http://www.php.net/array_push $files[] = $entry; is perfectly fine.
$thumbnailFiles=listFiles($thumbnailsDirectory); print"<pre>"; print_r($thumbnailsFiles); print"</pre>"; The code is fine, spot the typo.
Arpad

« previous php.general (#249486) next »