mirror of
https://github.com/shuchkin/simplexlsxgen.git
synced 2023-08-10 21:12:59 +03:00
1.3.10
This commit is contained in:
parent
6d7608f8ca
commit
af53c754c3
15
README.md
15
README.md
@ -95,6 +95,21 @@ SimpleXLSXGen::fromArray($data)
|
|||||||
```
|
```
|
||||||
![XLSX screenshot](styles.png)
|
![XLSX screenshot](styles.png)
|
||||||
|
|
||||||
|
### RAW Strings
|
||||||
|
Prefix #0 cell value (use double quotes).
|
||||||
|
```php
|
||||||
|
$PushkinDOB = '1799-07-06';
|
||||||
|
$data = [
|
||||||
|
['Datetime as raw string', "\0".'2023-01-09 11:16:34'],
|
||||||
|
['Date as raw string', "\0".$PushkinDOB],
|
||||||
|
['Disable type detection', "\0".'+12345'],
|
||||||
|
['Insert greater/less them simbols', "\0".'20- short term: <6 month'],
|
||||||
|
|
||||||
|
];
|
||||||
|
SimpleXLSXGen::fromArray($data)
|
||||||
|
->saveAs('test_rawstrings.xlsx');
|
||||||
|
```
|
||||||
|
|
||||||
### More examples
|
### More examples
|
||||||
```php
|
```php
|
||||||
// Fluid interface, output to browser for download
|
// Fluid interface, output to browser for download
|
||||||
|
Loading…
Reference in New Issue
Block a user