我爱占星网 我爱占星网
首页
编程
java
php
前端
首页 编程 java php 前端

在mysql中存储多个输入并在表Laravel中显示它们

I am trying to store shipping details and cart info in a table orders. In my cart there would have more than one product. Now I created a hidden input field as <input type="hidden" name="product_code[]" value="{{ $product->id }}">.

I received them in my controller as $input = serialize(Input::get('product_code')); , May be I can store them in this way.

But the problem is how can I show them ? Also please suggest me what would be the best way to this kinds of task.

Thank you very much.

近期文章

  • php类路径不是调用其方法的文件路径
  • Symfony 2 - 多数据库 - 部署
  • 分页 - 页数
  • 如何将javascript变量发送到php以更改上传文件的文件名?
  • 使用名为callback的查询参数的任何get请求关闭cURL响应格式
  • 我正在使用函数ExportTableau()我创建新的PDF('L')我如何更改pdf的格式
  • 我没有收到邮件php
  • PHP使用jquery和PHP在用户请求上重命名或替换上传的文件
  • Joomla,动物园,类别渲染器
  • Magento后端模块导致404
  • Canvas在AJAX调用时消失
  • 会话中的codeigniter数组数据
  • AngularJS中的奇怪行为如果在url中传递参数,则重定向
  • 找不到yui-moodlesimple-min.css
  • if和else在我的PHP代码中都是真的
  • Codeigniter控制器404和路由问题
  • autosubmit将值下拉到数据库中
  • 从垂直到水平PHP的MYSQL数据
  • 生成并发送带有邮件的pdf文件
  • 是否有可能知道SoapClient请求的来源?

Copyright ©2022 我爱占星 All Rights Reserved.

浙ICP备2022030071号-1

部分图文来自网络,如有侵犯您的版权,请告诉我们删除

友情链接:代码精华