Multiple datas in a row?

Topics: Developer Forum, User Forum
Nov 21, 2014 at 6:47 PM
I have a question.
<tr>
<td>some data</td>
</tr>
<tr>
<td>data1</td>
<td>data2</td>
<td>data3</td>
</tr>
This is the code I've been calling the data:
for($i = 0; $i < $lastRow; $i++){
    echo $objPHPExcel->getActiveSheet()->getCell('B'.$i)->getValue();
    echo "<br />";
}
But when I do that and export to a new xls file, it only shows:
somedata
data 1
It is very strange for me and I couldn't figure it out. Please help me to figure this out.

Thanks in advance.