[英]set_field_upload in grocery crud not rendering
我正在嘗試使用set_field_upload上傳一個名為“photo”的數據庫字段中的圖像,這對於文本/日期等工作非常有效...等等
但是你不能使用文件上傳
這是代碼
try {
$crud = new grocery_CRUD();
$crud->set_table('test');
$crud->set_field_upload('photo', 'assets/uploads/files');
$output = $this->grocery_crud->render();
$this->_example_output($output);
} catch(Exception $e) {
show_error($e->getMessage().' --- '.$e->getTraceAsString());
}
我通過更改版本解決了問題,我嘗試了1.5.8和1.5.0。
我使用1.5.5開始工作
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.