Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

Laravel delete old file

$oldFile = House::select('photo')->where('name', $request->name)->first()->photo;
Storage::delete($oldFile);
Source by github.com #
 
PREVIOUS NEXT
Tagged: #Laravel #delete #file
ADD COMMENT
Topic
Name
9+6 =