NAVIGATION
This shows you the differences between two versions of the page.
|
english:other-enhancements:hacks:form-result-download-csv [2012/05/18 12:37] Knut Heermann (flip-flop) |
english:other-enhancements:hacks:form-result-download-csv [2018/06/03 18:09] (current) |
||
|---|---|---|---|
| Line 92: | Line 92: | ||
| $export = array(); | $export = array(); | ||
| $row = 1; | $row = 1; | ||
| - | $export[0] = array('#ID'=>'','#Date'=>'','#IP'=>''); | + | $export[0] = array('#'=>'','#ID'=>'','#Date'=>'','#IP'=>''); |
| // run all data first and combine array elements | // run all data first and combine array elements | ||
| Line 98: | Line 98: | ||
| // numbering starting at 1 | // numbering starting at 1 | ||
| + | $export[$row]['#'] = $row; | ||
| $export[$row]['#ID'] = $value['formresult_id']; | $export[$row]['#ID'] = $value['formresult_id']; | ||
| $export[$row]['#Date'] = $value['formresult_createdate']; | $export[$row]['#Date'] = $value['formresult_createdate']; | ||