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

在symfony 2.6中保存excel文件

Using $this->render('Bundle:Controller:View', [$MyDoctrineQueryResult]) I have sent a doctrine query result to a twig view which creates a report. Now I have to give the client the option to export such report to Excel. I have the code to do such thing already working but I haven't find out a way to send the $MyDoctrineQueryResult array from the twig view to the controller that have the Export to Excel code. Please any help would be apreciated.

近期文章

  • 从数据库字段类型日期获取值
  • PHP到mySQL检查用户是否存在
  • Laravel从4.2迁移到5.1错误
  • 将Apache ErrorDocument路由到Laravel路由
  • 无法从表PDO PHP编辑记录
  • MongoDB,如何将对象插入到新集合中?
  • 百分比计算,不给出确切的值
  • 使用访问数据库连接php而不使用odbc桥
  • CasperJS在选择器单击时不会触发AJAX
  • 仅在产品中的magento主题故障中的页脚
  • 递归下拉菜单在Bootstrap Codeigniter上无法正确显示
  • 来自mysql服务器的ajax.reload有错误:属性未定义
  • PHP - .png和.gif一起发行
  • 警告:PDOStatement :: execute():SQLSTATE [42000]:语法错误或访问冲突:1064
  • 如何将数据从mysql转换为jquery数组以进行自动完成?
  • php获取文件内容浏览器
  • PHP如果选中复选框显示列表
  • '字段列表'中的未知列'优先级'(INSERT INTO`store_categories` ...)
  • PHP / MySQLi - 循环遍历数组以构建动态WHERE子句
  • PHPStorm Yosemite xdebug

Copyright ©2022 我爱占星 All Rights Reserved.

浙ICP备2022030071号-1

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

友情链接:代码精华