CodeCharge Studio
search Register Login  

Web Reports

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> PHP

 delete uploaded files / upload function

Print topic Send  topic

Author Message
telmiger

Posts: 61
Posted: 06/14/2004, 10:22 AM

I have 2 tables clients and correspondence.

The correspondence table is referenced to the clients table with the client id.
The correspondence table includes 1 field to reference the file name of uploaded files. (Upload function)

what I am trying to do is the following.

If I delete a client record it should delete all correspondence records from this client and also all uploaded files.

I figured out how to delete the correspondence records in the after delete events ,but I am not sure on how to delete the referenced uploaded files.

Tony Elmiger
View profile  Send private message

Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

Web Database

Join thousands of Web developers who build Web applications with minimal coding.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.