php functions to Store data
This commit is contained in:
parent
a945fca764
commit
930bd7de4b
|
@ -4,7 +4,7 @@
|
||||||
|
|
||||||
/** @noinspection PhpIssetCanBeReplacedWithCoalesceInspection */
|
/** @noinspection PhpIssetCanBeReplacedWithCoalesceInspection */
|
||||||
|
|
||||||
namespace Shuchkin;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Class SimpleXLSXGen
|
* Class SimpleXLSXGen
|
||||||
|
|
|
@ -23,6 +23,6 @@ function write_xlsxFile($filename, $data) {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
$xlsx = \Shuchkin\SimpleXLSXGen::fromArray($data);
|
$xlsx = SimpleXLSXGen::fromArray($data);
|
||||||
$xlsx->saveAs($filename);
|
$xlsx->saveAs($filename);
|
||||||
}
|
}
|
Loading…
Reference in New Issue