Re: Array Question
| From: | Jon Parise | Date: | Tue, 18 Jul 2000 16:59:56 +0000 |
| Subject: | Re: Array Question | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-7100@lists.php.net to get a copy of this message | ||
On Tue, Jul 18, 2000 at 09:38:28AM -0700, Phillip S. Baker wrote:
> Okay I want to populate an array with a variable (i think that is the
> way to state it)
>
> Ok ay I am using this code
>
> $d = dir("images/");
> while($entry=$d->read())
> {
> if(($entry==".") OR ($entry==".."))
> {
> echo "";
> }
> else
> {
$images[] = $entry;
> }
> }
> $d->close();
--
Jon Parise (jon@csh.rit.edu) . Rochester Inst. of Technology
http://www.csh.rit.edu/~jon/ : Computer Science House
Member