quote:
Originally posted by:
Sabaidee
you can't delete the actual file with a query. you must use
<cffile action="delete" ...> tag. look up doc on cffile to
see how to use it with the delete action.
I know that. I am saying that I am outputting the information
from the database with a query. When I delete it, you click a
button, and it already deletes the information from the table. The
part I do not know how to do is extract the filename from the field
in the database.
For example, in the database news, there is a row called
image. In the image field it is
www.yahoo.com/uploads/thisismyimage.gif. I want to be able to pull
the thisismyimage.gif out of that so when I run the cffile delete
query it can delete that file from the directory.