New Post: Reading date format from excel to PHP
Hi there,I have a problem when I tried to read an excel file to PHP. I used the PHPExcel 1.7.7 version right now.Here is a sample from the excel 2007 file (Column A for name, and column B for...
View ArticleNew Post: Reading date format from excel to PHP
I think you might need:echo date_format(date_create_from_format('m-d-Y', $row['B']), 'Y-m-d');Y rather than y in the date_create_from_format() method
View ArticleNew Post: Sporadic "Uncaught exception 'Exception' with message 'Could not...
Hi All - I know there have been previous posts on this but it seems they have been resolved by a change in permissions. The problem I have is that this error is sporadic, I can get the following error...
View ArticleNew Post: Write special characters
Hi all,I'm trying to write "séparation" (french word) in a cell in excell5 writer, but everytime the file is not accepted by excel.I've already converted my file to UTF8 without BOM, but no luck...Do...
View ArticleNew Post: PEAR dependency
Dear developers, is there a way to use the Excel 5 generator without installing PEAR? I would like to use it on a page that will be hosted by others. Thank you
View ArticleNew Post: PEAR dependency
I would like to ask the above wuestion for the Excel 2007 format too. It's not mentioned that it's also dependent on PEAR, but the Autoloader tries to locate it anyways Thanks
View ArticleNew Post: PEAR dependency
There is absolutely no dependency on PEAR whatsoever.The only dependencies are listed on the front-page of the website under requirements:PHP version 5.2.0 or higher PHP extension php_zip enabled (for...
View ArticleNew Post: Write special characters
UTF-8 is the only way to write non-ASCII charaters; but "séparation" doesn't even need that: look at cell A5 in the spreadsheet generated by 01simple.php in the /Tests directory
View ArticleNew Post: Sporadic "Uncaught exception 'Exception' with message 'Could not...
Three possible causes that I'm aware of:Invalid directory path File permissions File is open within another application
View ArticleNew Post: Write special characters
Hi,Thank you for your answer.I've found the origin of the problem, not the solution...Adding special characters in "normal" cells is okay, but when I want to make a rich text, it doesn't work.Here is...
View ArticleNew Post: Sporadic "Uncaught exception 'Exception' with message 'Could not...
Thanks Mark - your point about 'Invalid Directory Paths' made me convert the relative paths that I had been using to absolute paths and for now that seems to have fixed it.So for any relative php...
View ArticleNew Post: Sporadic "Uncaught exception 'Exception' with message 'Could not...
Spoke too soon. Just seen the same error again..
View ArticleNew Post: Uncaught exception 'PHPExcel_Exception' with message 'Simple!P158...
I have this error when I download the report from a MySql DBUncaught exception 'PHPExcel_Exception' with message 'Simple!P158 -> Formula Error: An unexpected error occured' in...
View ArticleNew Post: Uncaught exception 'PHPExcel_Exception' with message 'Simple!P158...
So what's being written to cell P158 in the Simple worksheet?
View ArticleNew Post: Uncaught exception 'PHPExcel_Exception' with message 'Simple!P158...
it is a text like " state - State = Not charge "
View ArticleNew Post: Uncaught exception 'PHPExcel_Exception' with message 'Simple!P158...
I have been testing with different queries and it is happening with the same col because it has symbols like = , <, >, #Is there any possibility to set the field just as text and it doesn't...
View ArticleNew Post: Uncaught exception 'PHPExcel_Exception' with message 'Simple!P158...
It is possible to set the cell as text using setCellValueExplicit() but a cell that simply contains symbols should not cause any such error, unless you have an = as the very first character.I've just...
View Article