Multiple datas in a row?

Topics: Developer Forum, User Forum
Nov 21, 2014 at 6:47 PM
I have a question.
<td>some data</td>
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:
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.