Export multiple records in excel or pdf

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
sonal_patil
Forum Newbie
Posts: 1
Joined: Fri Dec 27, 2013 12:56 am

Export multiple records in excel or pdf

Post by sonal_patil »

I have two tables as following:
NOTE TABLE
Note Id, Description
1, description1
2, description2
3, description3
4, description4

SUBNOTE TABLE
Notes Refence ID, Description, value
1, subnote1,1
2, subnote2,2
3, subnote3,3
3, subnote4,4
3, subnote5,5
4, subnote6,6

I want the output similar as below in excel file with excel file download option:

Note ID, Description, SubNotes details
, subnode, value
1, description1, subnote1,1
2, description2, subnote2,2
3, description3, subnote3,3
subnote4,4
subnote5,5

4, description4, subnote6,6
User avatar
Celauran
Moderator
Posts: 6427
Joined: Tue Nov 09, 2010 2:39 pm
Location: Montreal, Canada

Re: Export multiple records in excel or pdf

Post by Celauran »

What have you tried so far? Where did you run into problems? What errors did you encounter?
Post Reply