Jump to content

how to create new tabs/perform function operations on excel sheet using php code


krishna.p

Recommended Posts

Hi All,

      Iam new to php. In my php application i would like to create/update excel worksheets using php code. here i need to fetch the data from mysql database and then i have to insert into excel sheet on daily basis. The next day same procedure happens and this time i have to update the data into second worksheet of same excel sheet.

Would appreciate if you guys can tell me on

1)how to create new tabs in excel worksheet and then

2)how to insert images into excel worksheet using phpcode and then

3)how to perform functions like sum,subtraction operations on the data using php code..

Thanks in advance.

 

Thanks,

krishna.p

Link to comment
Share on other sites

Thanks for the reply.. till now iam able to send data to excel sheet. ie.. in my application if user clicks on EXCEL BUTTON, user will get the open, save,cancel dialog box. If he opens it, user will find the data. but in my case here, i would like to save data in sheets wise...perform some sum/substract operations on it..... is it not possible using php?

Link to comment
Share on other sites

php excel looks promising. what i've done in the past is create a simple multi-worksheet spreadsheet, save it as XML, examine the XML to determine each element's XML representation and build a file using that data. it was relatively easy to decipher, but them the spreadsheets i needed to create were relatively simple in both data and formatting.

 

i'd certainly opt for something like php excel, if it suited my needs.

 

jason

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.