Re: Populate picklist from directory and return file name
Available news archives: comp.lang.tcl - comp.lang.python - comp.security.firewalls - sci.crypt - comp.lang.php - comp.lang.javascript
Google
 
Web news.hping.org


comp.lang.php archive

Re: Populate picklist from directory and return file name

From: Sandman <mr@sandman.net>
Date: Tue Sep 13 2005 - 16:16:22 CEST

In article <1126620330.013385.212480@g43g2000cwa.googlegroups.com>,
 "sunbum" <mbrashars@gmail.com> wrote:

> Thanks Sandman!
>
> It seems it doesn't quite like the print statements ......
>
> Parse error: parse error, unexpected T_STRING in line 5, also in 7, it
> doesn't like the "." in the array statement .... unexpected "."
>
> Using php 4.3, IIS5
>
> Thank you!

I'm terribly sorry, one line was missing. This:

    $dir = opendir($dir);

Should go before the while loop.

-- 
Sandman[.net]
Received on Mon Oct 24 02:09:58 2005