编辑表单时,如何获取旧文件上传值?
我的代码:
<div class="form-group">
<img src="{{isset($step) && $step->icon ? icon_url($step->icon) : 'http://placehold.it/300?text=Stap icoon'}}" height="260" width="300"}}>
</div>
<div class="form-group">
<input type="file" name="icon">
</div>发布于 2016-12-09 18:12:54
为此,您必须使用数据库,您需要将文件名保存在数据库中,并将文件保存在特定文件夹中
https://stackoverflow.com/questions/41055883
复制相似问题