skip to Main Content

Php versions – phpspreadsheet failed to work on online server! running php version 7.3

use PhpOfficePhpSpreadsheetSpreadsheet; use PhpOfficePhpSpreadsheetWriterXlsx; class ReportExport extends CI_Controller { public function download() { $spreadsheet = new Spreadsheet(); $sheet = $spreadsheet->getActiveSheet(); $sheet->setCellValue('A1', 'Hello World !'); $writer = new Xlsx($spreadsheet); $filename = 'robert'; header('Content-Type: application/vnd.ms-excel'); header('Content-Disposition: attachment;filename="'. $filename .'.xlsx"'); header('Cache-Control: max-age=0'); $writer->save('php://output');…

VIEW QUESTION

how to get the td id in JavaScript – Jquery ajax

<table class="table" style="margin-bottom:0px!important"> <b> <? if(!empty($channelBase['rep_ids'])) { $s_id=$channelBase['id']; $i=0; $temp=''; $reps_channl=explode(",",$channelBase['rep_ids']); foreach($reps_channl as $k) { $added_reps = $rep_names[$k]; if($i==0){ $temp.='<tr style="border-top:none;">'; } $temp.="<td id='".$s_id."_".$k."' class='repclicked' style='border-top:none;'>$added_reps <a href='#' class='btn btn-xs btn-icon btn-circle ' onclick='delete_repid($k,$s_id);'><i class='fa fa-close'></i></a> </td>"; $i++; if($i==5) {…

VIEW QUESTION
Back To Top
Search