mysql - CodeIgniter PHPExcel export to excel for 16 digit varchar data type error -


i trying export table mysql excel in codeigniter using phpexcel. column varchar datatype [16 digits], result in excel become a,be+15. example 3374142005140004 in mysql, in excel export became 3,37414e+15 or 3374142005140000, lost last digit value 4. best file type export opendocumentspreadsheet (.ods) [tried manually xampp export file]. phpexcel doesn't have oocalc writer yet. , don't know how integrate phpmyadmin export in codeigniter app. so, if have solution problem, please please share solution. in advance help/suggestion.

if string value longer php integer, you'll need save string using setcellvalueexplicit() instead of setcellvalue()

phpexcel allow write openofficexml files using opendocument writer


Comments

Popular posts from this blog

c# - Binding a comma separated list to a List<int> in asp.net web api -

Delphi 7 and decode UTF-8 base64 -

html - Is there any way to exclude a single element from the style? (Bootstrap) -