PHP Classes

Specifying row,cell to write to

Recommend this page to a friend!

      MS-Excel Stream Handler  >  All threads  >  Specifying row,cell to write to  >  (Un) Subscribe thread alerts  
Subject:Specifying row,cell to write to
Summary:Specifying data destination cell
Messages:4
Author:M McD
Date:2008-01-17 12:16:12
Update:2008-01-19 01:47:33
 

  1. Specifying row,cell to write to   Reply   Report abuse  
Picture of M McD M McD - 2008-01-17 12:16:13
I am a noob to programming and have what I hope is a simple question. When I am generating the array to write to the excel file, how do I specify the cell that I need the data written to?

  2. Re: Specifying row,cell to write to   Reply   Report abuse  
Picture of Ignatius Teo Ignatius Teo - 2008-01-17 23:45:48 - In reply to message 1 from M McD
The way you specify your array determines what row/column the data will be written to. Alternatively, you may wish to check out this thread: http://www.phpclasses.org/discuss/package/1919/thread/12/

  3. Re: Specifying row,cell to write to   Reply   Report abuse  
Picture of M McD M McD - 2008-01-18 09:04:53 - In reply to message 2 from Ignatius Teo
Thank you. I will take a look at the link you provided. Would you be kind enough to show me an example of an array constructed in a way that specifies the target cell? As I said, I am new to programming and have tried all the syntax I can find but to no avail.

Thanks Again!

  4. Re: Specifying row,cell to write to   Reply   Report abuse  
Picture of Ignatius Teo Ignatius Teo - 2008-01-19 01:47:33 - In reply to message 3 from M McD
Each array definition within the outermost array corresponds to a row. Each element within the array corresponds to a cell. You may wish to look up the Array functions documentation here: http://php.net/array