Answer the question
In order to leave comments, you need to log in
How to label cells with numbers only in PHPExcel?
only works like this
$xls->setActiveSheetIndex(0)->setCellValue('A1', $key);
$pattern = [
'А' => '1',
'B' => '2',
'C' => '3',
'D' => '4',
'E' => '5',
'F' => '6',
'G' => '7',
'H' => '8',
'I' => '9']
$num = 2; // например
$needle = array_search($num, $pattern);
// $needle будет соответственно 'B'
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question