Here I am again with another novice question. If I have a page of data that is presented using PHP to get the information from MySQL, is there some way to give the user the option to save the results of the query into a TXT file instead of showing it formatted on screen in HTML?
So for example, they use my search facility to find a series of records. Then they want to save that information as a file (without copying and pasting of course). Is there a way to have a link which, when clicked, will use the results of the previous query to save a TXT file?
Dumping Table Data To TXT File
Moderator: General Moderators
-
furiousweebee
- Forum Commoner
- Posts: 69
- Joined: Sun Jul 11, 2004 7:38 am
- Location: Brisbane, Australia
- Contact:
-
kettle_drum
- DevNet Resident
- Posts: 1150
- Joined: Sun Jul 20, 2003 9:25 pm
- Location: West Yorkshire, England
-
furiousweebee
- Forum Commoner
- Posts: 69
- Joined: Sun Jul 11, 2004 7:38 am
- Location: Brisbane, Australia
- Contact:
-
furiousweebee
- Forum Commoner
- Posts: 69
- Joined: Sun Jul 11, 2004 7:38 am
- Location: Brisbane, Australia
- Contact:
This solution is slightly off the mark from my original question, but it does exactly what I want it to do. It can save data as Excel or Word files.
http://www.hotscripts.com/Detailed/13890.html
http://www.hotscripts.com/Detailed/13890.html