How to update an existing excel file with pear library? -
Do I have an Excel file with some data? Can I update the second column (cell number may: b2 , B3, B4, B5 ....) that use the Pair Library?
I've used Spreadsheet_Excel_Reader () to read Excel:
$ xlsFormatFile = UPLOADS_DIR.DS. "My_xls_format.xls"; Need_once (EXCEL_LIB_DIR.DS. '[Excel_reader2.php] [1]'); $ Data = new spreadsheet_xcel_reader ($ xlsFormatFile); $ Data- & gt; Dump (true, true); // shows the excel file contents in the browser
Now how can I update and save data please welcome me any sample code or any advice ....
Thanks in advance.
The spreadsheet_excel_reader package does what it does, it reads xls spreadsheet file, He can not write those files as well as the author too: Spreadsheets_excel_worter can be used to create a spreadsheet file but can not be read (although I have people who have told me). You can use both packages together, but you have to write the "Gum" code to take the reader's results and use that author to create a new file (with the same name).
An alternative is using a library as it can read and write.
Comments
Post a Comment