RE: [PHP] PHP, Excel, jpgraph - can the graph be included in the Excel output?
| From: | Jay Blanchard | Date: | Mon, 14 Jul 2003 14:52:00 +0000 |
| Subject: | RE: [PHP] PHP, Excel, jpgraph - can the graph be included in the Excel output? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-155087@lists.php.net to get a copy of this message | ||
[snip]
You need a class that can create xls files with images.
Or you can create a Web Archive:
http://officeupdate.microsoft.com/office/webarchive.htm
[/snip]
Thanks! We have looked at this, but have arrived at the problem of
opening the file for the user. Here is the process in a nutshell...
User selects report and enters a cut-off date
PHP retrieves info from database
info is processed
PHP opens an Excel headered file in the browser
(hopefully graph appears in page)
user is happy.
I guess that we could open/save the file via PHP and do a redirect to
open.
We can open a frameset, showing the tab delimited Excel file in one
frame and the graph in another. Not very elegant, but if push comes to
shove...
Thanks!
Jay