php - I want to combine both result into one in Laravel?
问题描述
I just tried to following code in this fetch form have some result and fetchformans have another result but i want both into one result. I have tried many times but not get both result into one.
$fetchform = DB::table('create_form')->where('f_id','=',$id)->get();
$uid=session()->get('uid');
$fetchformans = DB::table('submit_forms')->where([['f_id','=',$id],['t_id','=',$uid]])->get();
解决方案
推荐阅读
- hapijs - Hapi - 如何从请求对象访问路由范围
- python - 使用日期时间 Python 从某些周中提取数据
- riscv - Rocketcore中的“wxd”是什么?
- node.js - 有什么办法可以增加谷歌云功能的数据限制?
- python - DRF:AttributeError:“BlogSerializers”对象没有属性“get_uri”
- c# - 在 Ext.NET 中使用外部 URL 加载 IFrame
- reactjs - 跟踪:节点类型 SpreadProperty 已在 Object.isSpreadProperty 处重命名为 SpreadElement
- kotlin - kotlin - 以年计算复利
- php - Prestashop:未捕获的错误:在中找不到类“smartblog”
- c# - 参考交互触发控制