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/");
if(($entry==".") OR ($entry==".."))
echo $entry, "\n";
Now this code a list of images form the images folder and would
return something like
image1.gif, image2.gif, image3.gif
Now I want to populate an array with this list of images that are
pulled from this code. So I would want the above code to populate an
$image = array("image1.gif","image2.gif","image3.gif");
So if I dumped image4.gif into the images folder the array would
dynamically update to read....
$image = array("image1.gif","image2.gif","image3.gif","image4.gif");
How would I go about doing this in PHP 3 not PHP 4??
Phillip S. Baker
Words & Images, Inc.
1535 Seabright Avenue, Suite 100, Santa Cruz, CA 95062
Direct Line (831) 420-2641 / Fax (831) 458-0808