On 8/18/05, Ashley M. Kirchner <ashley@xxxxxxxxxx> wrote: > Since I don't have a list of > images in any kind of array (such as a result from DB query) Sure you do. #!/usr/bin/php <?php $a = array(); $d = dir( '.' ); while( false !== ( $e = $d->read() ) ) { $a[] = $e; } $d->close(); print_r( $a ); ?> -- Greg Donald Zend Certified Engineer MySQL Core Certification http://destiney.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php