doula2426 2016-12-15 09:38
浏览 34
已采纳

不从mysql中的字段检索所有数据

I am using summernote in my laravel project. Since, summernote encodes images into base64 during storage. But, the main problem is that when i query to get encoded image data. Then, i don't get base64 encoded image data.

Data_In_MysQL_Database: here

Query_used_in_Laravel:

$exhibitors = DB::table('exhibitors')->select('description')->get();

Any help will be appreciated!!

Thanks

  • 写回答

1条回答 默认 最新

  • douqiao7958 2016-12-16 03:11
    关注

    During querying database, i got only paragraph stored from the editor and i did not get base64 encoded image data, the problem was that i had not the sufficient space to store base64 encoded image data in the database's column.

    Problem solved by just changing my database field from TEXT to LONGTEXT.

    Anyway thanks.

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?

悬赏问题

  • ¥15 电脑桌面设定一个区域禁止鼠标操作
  • ¥15 求NPF226060磁芯的详细资料
  • ¥15 使用R语言marginaleffects包进行边际效应图绘制
  • ¥20 usb设备兼容性问题
  • ¥15 错误(10048): “调用exui内部功能”库命令的参数“参数4”不能接受空数据。怎么解决啊
  • ¥15 安装svn网络有问题怎么办
  • ¥15 Python爬取指定微博话题下的内容,保存为txt
  • ¥15 vue2登录调用后端接口如何实现
  • ¥65 永磁型步进电机PID算法
  • ¥15 sqlite 附加(attach database)加密数据库时,返回26是什么原因呢?