Answers for "when i delete a post than it deletes from database but remains in public folder of project in laravl"

PHP
0

unlink is a directory laravel

$destinationPath = 'your_path';
 File::delete($destinationPath.'/your_file');
Posted by: Guest on May-07-2020

Code answers related to "when i delete a post than it deletes from database but remains in public folder of project in laravl"

Browse Popular Code Answers by Language