RE: [PHP] populate select box with contents of a file?
| From: | Sean R. Bright | Date: | Thu, 08 Mar 2001 00:50:03 +0000 |
| Subject: | RE: [PHP] populate select box with contents of a file? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-42978@lists.php.net to get a copy of this message | ||
Take a look at dir() and readdir(). Those along with echo() should help you
out.
Sean
> -----Original Message-----
> From: Jerry Lake [mailto:jerryl@europa.com]
> Sent: Wednesday, March 07, 2001 7:40 PM
> To: Henrik Hansen; php general
> Subject: [PHP] populate select box with contents of a file?
>
>
> 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?
>
> Jerry Lake - jerryl@europa.com
> Web Designer
> Europa Communications - http://www.europa.com
> Pacifier Online - http://www.pacifier.com
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail:
> php-list-admin@lists.php.net
>