Hi
Is it possible that when the user clicks on the button an excel spreadsheet gets generated with the details in the form?
generate spreadsheet
Moderator: General Moderators
- jayshields
- DevNet Resident
- Posts: 1912
- Joined: Mon Aug 22, 2005 12:11 pm
- Location: Leeds/Manchester, England
Yeah, PHP could generate a .csv file and then send it to the user for download.
I don't really know alot about csv (comma seperated value) files, but I imagine you could just have PHP create a file on the fly and build a spreadsheet in the csv format and then send it to the user using header().
On a side note, it wouldn't suprise me if there is a csv generator class out there somewhere. Have a look around hotscripts.com, google, etc.
I don't really know alot about csv (comma seperated value) files, but I imagine you could just have PHP create a file on the fly and build a spreadsheet in the csv format and then send it to the user using header().
On a side note, it wouldn't suprise me if there is a csv generator class out there somewhere. Have a look around hotscripts.com, google, etc.
-
Dark_AngeL
- Forum Commoner
- Posts: 39
- Joined: Tue Feb 21, 2006 5:16 am
-
Dark_AngeL
- Forum Commoner
- Posts: 39
- Joined: Tue Feb 21, 2006 5:16 am