carlg Posted October 18, 2007 Share Posted October 18, 2007 One of the users of my web site wants to save the results of a query as an excel or csv file. What is the best way to allow the user to do this using php? Thanks Carl Quote Link to comment https://forums.phpfreaks.com/topic/73732-saving-query-results-as-excel-file/ Share on other sites More sharing options...
tj71587 Posted October 18, 2007 Share Posted October 18, 2007 I dont know if this is the best way, but you can see my code to do just that on this post. http://www.phpfreaks.com/forums/index.php/topic,163597.0.html You can ignore the post information...all you need is the query and the stuff below it with your own vairables. T.J. Quote Link to comment https://forums.phpfreaks.com/topic/73732-saving-query-results-as-excel-file/#findComment-372032 Share on other sites More sharing options...
sasa Posted October 18, 2007 Share Posted October 18, 2007 or see http://www.phpfreaks.com/forums/index.php/topic,155530.0.html Quote Link to comment https://forums.phpfreaks.com/topic/73732-saving-query-results-as-excel-file/#findComment-372135 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.