Quantcast
Channel: PHPExcel Forum Rss Feed
Viewing all articles
Browse latest Browse all 2707

New Post: Multiple datas in a row?

$
0
0
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.

Viewing all articles
Browse latest Browse all 2707

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>