|
Posted by me on November 25, 2008, 5:26 pm
Please log in for more thread options
show/hide quoted text
>My PC uses the Excel icon for CSV files as well, but your idea is a good
>one. The only problem I can think of is if there is data where leading
>zeros are significant - I've tried several times to create a CSV where
>they get retained but without success. And of course if the spreadsheet
>needs several sheets and/or formulae.
Won't work for me... If I do that, I get prompted for the CSV import
show/hide quoted text
scenario with a File -> Open; With a double click I get junk.
|
|
Posted by Matthias Braun on November 27, 2008, 2:59 am
Please log in for more thread options
Hi,
you can directly use Spreadsheet Writer that can be installed via PEAR.
Very easy to use writing binary Excel files. See
http://pear.php.net/package/Spreadsheet_Excel_Writer
for more details.
Ciao,
Matthias
Surfer! wrote:
show/hide quoted text
>>>> most simple would be (i think) to create a CSV file...
>>> That was my preferred choice too, but the customer wants it directly
>>> in MS-Excel format - they don't want to have to do an import of any
>>> sort.
>> Give the CSV file a .xls extension so it gets the right desktop icon,
>> and they'll probably never notice the difference. :-)
>
> My PC uses the Excel icon for CSV files as well, but your idea is a good
> one. The only problem I can think of is if there is data where leading
> zeros are significant - I've tried several times to create a CSV where
> they get retained but without success. And of course if the spreadsheet
> needs several sheets and/or formulae.
>
|
|
Posted by me on November 28, 2008, 1:12 pm
Please log in for more thread options wrote:
show/hide quoted text
>Hi,
>you can directly use Spreadsheet Writer that can be installed via PEAR.
>Very easy to use writing binary Excel files. See
>http://pear.php.net/package/Spreadsheet_Excel_Writer
>for more details.
>Ciao,
>Matthias
This kit does seem to be abandoned when you look sat it (170 bugs on
file and none repaired in a long time). Have you used it? Does it work
reliably for basic operations?
Thanks,
|
|
Posted by sheldonlg on November 28, 2008, 2:08 pm
Please log in for more thread options me wrote:
show/hide quoted text
> wrote:
>
>> Hi,
>> you can directly use Spreadsheet Writer that can be installed via PEAR.
>> Very easy to use writing binary Excel files. See
>> http://pear.php.net/package/Spreadsheet_Excel_Writer
>> for more details.
>> Ciao,
>> Matthias
>
>
> This kit does seem to be abandoned when you look sat it (170 bugs on
> file and none repaired in a long time). Have you used it? Does it work
> reliably for basic operations?
> Thanks,
>
>
Have you tried the class that I posted?
|
|
Posted by Iván Sánchez on November 25, 2008, 3:04 pm
Please log in for more thread options me wrote:
show/hide quoted text
> I need to get some data from a MySQL database into an Excel
> Spreadsheet, potentially using PHP.
>
> What's available in PHP to help me with writing the MS-Excel file?
http://www.google.com/search?as_q=php+excel
--
----------------------------------
Iván Sánchez Ortega -ivan-algarroba-sanchezortega-punto-es-
He was part of my dream, of course -- but then I was part of his dream too.
-- Lewis Carroll
|
| Similar Threads | Posted | | Excel to MySQL through PHP? | April 1, 2006, 4:27 pm |
| MySQL as Excel? | February 3, 2009, 6:50 pm |
| Export mysql data to excel? | March 10, 2008, 6:03 am |
| Exporting MySQL Data to Excel using PHP | January 5, 2009, 10:18 am |
| Import Excel file into MySQL database | September 3, 2004, 2:27 am |
| Reading Excel to MySql or Comma delimited ... | June 14, 2006, 6:44 pm |
| PHP (mysql) to Excel, Word and PDF and other report formats | May 2, 2009, 4:52 am |
| PHP / MySQL to Excel - good library recommendation? | May 18, 2009, 7:24 am |
| uploading special characters from excel to mysql and php binary/Image | June 17, 2008, 10:47 am |
| PHP COM Excel Obj | May 31, 2006, 7:06 pm |
|
>one. The only problem I can think of is if there is data where leading
>zeros are significant - I've tried several times to create a CSV where
>they get retained but without success. And of course if the spreadsheet
>needs several sheets and/or formulae.