mirror of
https://github.com/wavelog/wavelog.git
synced 2026-03-22 10:24:14 +00:00
Add number and mv cnty to remarks
This commit is contained in:
@@ -344,9 +344,11 @@ class Awards extends CI_Controller {
|
||||
$qsos = $this->Jcc_model->exportJcc($postdata);
|
||||
|
||||
$fp = fopen( 'php://output', 'w' );
|
||||
fputcsv($fp, array('No', 'Callsign', 'Date', 'Band', 'Mode'), ';');
|
||||
$i=1;
|
||||
fputcsv($fp, array('No', 'Callsign', 'Date', 'Band', 'Mode', 'Remarks'), ';');
|
||||
foreach ($qsos as $qso) {
|
||||
fputcsv($fp, array($qso['cnty'], $qso['call'], $qso['date'], $qso['band'], $qso['mode']), ';');
|
||||
fputcsv($fp, array($i, $qso['call'], $qso['date'], $qso['band'], $qso['mode'], $qso['cnty']), ';');
|
||||
$i++;
|
||||
}
|
||||
fclose($fp);
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user