doufu1939 2019-05-05 08:48
浏览 104

从phpspreadsheet生成动态excel,它基本上是分析数据

I have 3 tables data named survey, survey_questions and survey_answers. where questions and answers are in the form of json data type where each question and answer have unique option ids.

Now, I have to write this data into excel in the following format(for more details pls click the links):

first row will have all questions along with its options from second row, all the answer records should be populated.

Note:There are different question types in the survey like ranking,arrays,check box,radio etc...

Links for sample data: https://drive.google.com/open?id=1TVc16HSlLq_Di-YmRTC_RPBBLC1tpbQQ https://drive.google.com/open?id=1w2VXnVYVZONo2YUdn_Vy_GOzdtjbWh4j https://drive.google.com/file/d/1URIA0X5mYTxXItLKf3vswPqHxL45szIZ/view?usp=sharing

output of generated excel: https://drive.google.com/open?id=1BaM74WX6u74ZsKoDK45gJrbbBJ9Wm_Gr

  • 写回答

0条回答 默认 最新

    报告相同问题?

    悬赏问题

    • ¥15 有没有可以帮我搞一个微信建群链接,包括群名称和群资料群头像那种,不会让你白忙
    • ¥15 stm32开发clion时遇到的编译问题
    • ¥15 lna设计 源简并电感型共源放大器
    • ¥15 如何用Labview在myRIO上做LCD显示?(语言-开发语言)
    • ¥15 Vue3地图和异步函数使用
    • ¥15 C++ yoloV5改写遇到的问题
    • ¥20 win11修改中文用户名路径
    • ¥15 win2012磁盘空间不足,c盘正常,d盘无法写入
    • ¥15 用土力学知识进行土坡稳定性分析与挡土墙设计
    • ¥70 PlayWright在Java上连接CDP关联本地Chrome启动失败,貌似是Windows端口转发问题