Login or Sign Up
Logging in...
Remember me
Log in
Or
Sign Up
Forgot password or user name?
Log in with
Search in titles only
Search in PHP only
Search
Advanced Search
Forums
Product Launch
Updates
Today's Posts
Member List
Calendar
Home
Forum
Topic
PHP
convert mysql data to excel file
Collapse
X
Collapse
Posts
Latest Activity
Photos
Page
of
1
Filter
Time
All Time
Today
Last Week
Last Month
Show
All
Discussions only
Photos only
Videos only
Links only
Polls only
Events only
Filtered by:
Clear All
new posts
Previous
template
Next
fariba123
New Member
Join Date:
Oct 2006
Posts:
17
#1
convert mysql data to excel file
Oct 31 '06, 03:16 AM
i have developed a ip management website. there are options to view reports. is there any way to convert the reports in excel file by clicking a link/image.
thank you,
fariba
ronverdonk
Recognized Expert
Specialist
Join Date:
Jul 2006
Posts:
4259
#2
Oct 31 '06, 11:14 AM
You can write your own MySQL extraction code and convert the results to a CSV, which you can import into Excel.
You can also use a pre-made FREE class at
www.phpclasses.org
, link for this to
MySQL to Excel
Originally posted by
classinfo
This class is used for exporting the data from a MySql to spreadsheet files in the Excel format.
The class executes a given database query and extract the result set data to generate the Excel spreadsheet.
The generated Excel spreadsheet can be stored in a given file or be made available immediately for download.
Ronald :cool:
Comment
Post
Cancel
Previous
template
Next
Working...
Yes
No
OK
OK
Cancel
👍
👎
☕
Comment