XLSXReader icon indicating copy to clipboard operation
XLSXReader copied to clipboard

Error @ line 62

Open venkibadduri opened this issue 9 years ago • 0 comments

$data = array_map(function($row) Parse error: syntax error, unexpected T_FUNCTION, expecting ')' in /opt/lampp/htdocs/dbis/venki/AmBank/XLSXReader-master/sample.php on line 62

Pleae help me to solve

code is as follows

$data = array_map(function($row) { $converted = XLSXReader::toUnixTimeStamp($row[0]); return array($row[0], $converted, date('c', $converted), $row[1]); }, $xlsx->getSheetData('Dates')); array_unshift($data, array('Excel Date', 'Unix Timestamp', 'Formatted Date', 'Data')); array2Table($data); ?>

reply to email as [email protected]

venkibadduri avatar Feb 19 '16 05:02 venkibadduri