Ok, your best bet is probably to either create a query script similar to the chart query that outputs the contents of the query as a CSV file (php has a function fputcsv <http://php.net/manual/en/function.fputcsv.php> that will write an array of data as a line of csv text to a file), create a file in a temporary directory, write to the file, and when done writing, use a redirect header to send the user to the file (write a cleanup script that clears old files from the temp directory so it doesn't clog up your webserver); or you could create fixed snapshots of the database at a given point in time, and offer those as a download.
On Saturday, December 29, 2012 12:36:50 PM UTC-5, Chrystopher Medina wrote: > > Yes my friend i want this for some set of users. U know. I want a button > (save a database copy) And the users can save a copy of the database on > their computers. All database with all its values And tables > El dic 29, 2012 1:25 a.m., "asgallant" <drew_g...@abtassoc.com<javascript:>> > escribió: > >> Do you want this just for you, or for some set of users? If it's just >> you (or other site admins), you can install >> phpMyAdmin<https://www.google.com/url?sa=t&rct=j&q=&esrc=s&source=web&cd=1&cad=rja&ved=0CDMQFjAA&url=http%3A%2F%2Fwww.phpmyadmin.net%2F&ei=5pneUIHCH-O_0AGBiIHQAQ&usg=AFQjCNEVUIHBxbZboIeYNUd_4abvz6M1zw&bvm=bv.1355534169,d.dmQ>on >> your site, which is a GUI for interacting with MySQL databases, and will >> allow you to export tables to files. If you want users to be able to >> download data sets, that's a different story entirely. >> >> On Friday, December 28, 2012 11:15:56 PM UTC-5, Chrystopher Medina wrote: >>> >>> And then save It in my computer >>> >> -- >> You received this message because you are subscribed to the Google Groups >> "Google Visualization API" group. >> To view this discussion on the web visit >> https://groups.google.com/d/msg/google-visualization-api/-/mcbp5lwt0B4J. >> To post to this group, send email to >> google-visua...@googlegroups.com<javascript:> >> . >> To unsubscribe from this group, send email to >> google-visualization-api+unsubscr...@googlegroups.com <javascript:>. >> For more options, visit this group at >> http://groups.google.com/group/google-visualization-api?hl=en. >> > -- You received this message because you are subscribed to the Google Groups "Google Visualization API" group. To view this discussion on the web visit https://groups.google.com/d/msg/google-visualization-api/-/WB85RapAosUJ. To post to this group, send email to google-visualization-api@googlegroups.com. To unsubscribe from this group, send email to google-visualization-api+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-visualization-api?hl=en.