> I have to create a list of files to Display.
>
> Also want to add small descriptions and Author pulled from a
> database that is updated when file is uploaded from a form.
>
> However not all files will have an author and not all will have a
description.
>
> In the table display of the files (which is created from the Dir
> Listing not the database query) what recommendation do you have for
> including the database info of Author and Description in the table
> when they exist.
>
> I have been considering creating a list, an array, evaluating in
> the dir table output but I an not sure which is the best and most
> efficient way to go about this?

Is it necessary to generate the file listing based on the directory listing?
If your database is updated each time a file is uploaded, then you've got a
list of all files.  If your database is incomplete because there were
pre-existing files or because there are other ways of placing files into the
directory, then get a directory listing (do this periodically, if necessary)
and update your database.

Jim

------------------------------------------------------------------------------
Archives: http://www.mail-archive.com/[email protected]/
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.

Reply via email to