Hi Rob, Thanks for the class address. What about saving the same file in the client side? This one saves it in the server... Thanks in advance, Emrah From: php-objects@xxxxxxxxxxxxxxx [mailto:php-objects@xxxxxxxxxxxxxxx] On Behalf Of Atkinson, Robert Sent: Tuesday, October 30, 2007 8:54 PM To: php-objects@xxxxxxxxxxxxxxx Subject: RE: Exporting data in mysql to an excel sheet There's a class on phpclasses.org (http://www.phpclasses.org/browse/package/2037.html) that can be used to create Excel files. Rob. ________________________________ From: php-objects@xxxxxxxxxxxxxxx <mailto:php-objects%40yahoogroups.com> on behalf of Sudhakar Sent: Sun 10/28/2007 10:31 AM To: php-objects@xxxxxxxxxxxxxxx <mailto:php-objects%40yahoogroups.com> Subject: Exporting data in mysql to an excel sheet I have developed a reporting page using php which will display the number of records from a table to the browser. This works fine, however i would like to provide user an option where 1. they can view the report in an excel sheet which can be opened or saved with a dialog box and 2. i would like the field names to be added in the first row of the excel sheet exactly how it happens while exporting a table from Myphp admin interface. Please provide the code for this. Any help will be greatly appreciated. **************************************************************************** ******* Any opinions expressed in email are those of the individual and not necessarily those of the company. This email and any files transmitted with it are confidential and solely for the use of the intended recipient or entity to whom they are addressed. It may contain material protected by attorney-client privilege. If you are not the intended recipient, or a person responsible for delivering to the intended recipient, be advised that you have received this email in error and that any use is strictly prohibited. Random House Group + 44 (0) 20 7840 8400 http://www.randomhouse.co.uk http://www.booksattransworld.co.uk http://www.kidsatrandomhouse.co.uk Generic email address - enquiries@xxxxxxxxxxxxxxxxx <mailto:enquiries%40randomhouse.co.uk> Name & Registered Office: THE RANDOM HOUSE GROUP LIMITED 20 VAUXHALL BRIDGE ROAD LONDON SW1V 2SA Random House Group Ltd is registered in the United Kingdom with company No. 00954009, VAT number 102838980 **************************************************************************** ******* [Non-text portions of this message have been removed] [Non-text portions of this message have been removed] PHP Data object relational mapping generator http://www.metastorage.net/ Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/php-objects/ <*> Your email settings: Individual Email | Traditional <*> To change settings online go to: http://groups.yahoo.com/group/php-objects/join (Yahoo! ID required) <*> To change settings via email: mailto:php-objects-digest@xxxxxxxxxxxxxxx mailto:php-objects-fullfeatured@xxxxxxxxxxxxxxx <*> To unsubscribe from this group, send an email to: php-objects-unsubscribe@xxxxxxxxxxxxxxx <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/