Download Data

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
mohson
Forum Contributor
Posts: 372
Joined: Thu Dec 02, 2004 6:58 am
Location: London

Download Data

Post by mohson »

Ok I want to create a button - that when selected can download my data to excel - how would this be possible?

In most usefull web applications you have an export button which when selected allows you to choose the fields you want to download and then download them as an excel spreadsheet document.

is this possible with php??

can someone help me with this or point me to a tutorial that can??
User avatar
JayBird
Admin
Posts: 4524
Joined: Wed Aug 13, 2003 7:02 am
Location: York, UK
Contact:

Post by JayBird »

Straight to Excel is very tricky, but just output to CSV, which Excel will open just the same!

viewtopic.php?t=24130&highlight=csv+trick
Post Reply