Warning: file_get_contents(/data/phpspider/zhask/data//catemap/5/reporting-services/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
如何对来自mysql php的动态html表数据应用pivottable.js_Php_Mysql_Json_Pivottable.js - Fatal编程技术网

如何对来自mysql php的动态html表数据应用pivottable.js

如何对来自mysql php的动态html表数据应用pivottable.js,php,mysql,json,pivottable.js,Php,Mysql,Json,Pivottable.js,我使用PHP从MYSQL数据库中检索日常销售数据,并以多维方式将其显示在HTML表中。希望在it列中按每日销售额类别获取小计 然后我了解了pivottable.js和subtotal.js插件,但问题是这适用于json或CSV数据。如何使用打印的HTML表来实现这一点 有什么想法或解决方案吗?所以我理解了这个问题:您想使用PivotTable.js向现有表中添加列吗?所以我理解了这个问题:您想使用PivotTable.js向现有表中添加列吗?

我使用PHP从MYSQL数据库中检索日常销售数据,并以多维方式将其显示在HTML表中。希望在it列中按每日销售额类别获取小计

然后我了解了
pivottable.js
subtotal.js
插件,但问题是这适用于
json
CSV
数据。如何使用打印的HTML表来实现这一点


有什么想法或解决方案吗?

所以我理解了这个问题:您想使用PivotTable.js向现有表中添加列吗?所以我理解了这个问题:您想使用PivotTable.js向现有表中添加列吗?