Re: CSV download
| From: | Robby Russell | Date: | Wed, 18 Feb 2004 18:42:09 +0000 |
| Subject: | Re: CSV download | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-178158@lists.php.net to get a copy of this message | ||
Roberts, Mark (Tulsa) typed this on 02/18/2004 10:33 AM:
I have an application that I need to add a function to that will download a complete MySql Table in comma delineated format from a web site to a local hard drive. What is the best way to do this? Is there a function in PHP that will do this? in MySql? or do I just need to do something with fopen().All you need to do is open a temporary file, write to it on the server, then send to the client browser for them to save. -Robby -- #------------------------------------------------------- # Robby Russell, | Sr. Administrator / Lead Programmer # Command Prompt, Inc. | http://www.commandprompt.com # rrussell@commandprompt.com | Telephone: (503) 667.4564 #-------------------------------------------------------