![]() |
ChatGPT 8/1/2025 |
Certainly! In PHPRunner, to achieve a cascade delete that also removes associated files from the server when a master record is deleted, you'll generally need to handle this through custom code. Here’s a step-by-step guide on how to implement this: Steps to Implement Cascade Delete with File Deletion:
Here’s a sample code snippet to help you get started:
By following these steps, you should be able to implement a cascade delete in PHPRunner that removes both records and their associated files. |
H
|
headingwest author 8/4/2025 |
If anyone needs to do this, you need to decode the json for the file name. Replace the loop with: // Loop through child records |