Re: populate select box with contents of a file?
| From: | David Robley | Date: | Thu, 08 Mar 2001 00:54:17 +0000 |
| Subject: | Re: populate select box with contents of a file? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-42977@lists.php.net to get a copy of this message | ||
On Thu, 8 Mar 2001 11:10, Jerry Lake wrote:
> I would like to be able to populate
> the options of a select box with the
> contents of my images directory online
> so I can select the image I want to
> go with the form I am filling out.
> what functions do I need to look into
> to figure this one out?
The directory functions - there are some simple samples in readdir() -
and is_file and is_dir may be useful
--
David Robley | WEBMASTER & Mail List Admin
RESEARCH CENTRE FOR INJURY STUDIES | http://www.nisu.flinders.edu.au/
AusEinet | http://auseinet.flinders.edu.au/
Flinders University, ADELAIDE, SOUTH AUSTRALIA