OK. I had found the solution in "print" multiple excel sheet in a web browser. here are the code ::
<html><br />
<head><br />
<style type="text/css"><br />
table {<br />
border-collapse: collapse;<br />
} <br />
td {<br />
border: 1px solid black;<br />
padding: 0 0.5em;<br />
} <br />
</style><br />
</head><br />
<body><br />
include 'reader.php';<br />
$excel = new Spreadsheet_Excel_Reader();<br />
?><br />
<br />
<br />
Sheet 1:<br /><br /><br />
<table><br />
<br />
$excel->read('example.xls'); <br />
$x=1;<br />
while($x<=$excel->sheets[0]['numRows']) {<br />
echo "\t<tr>\n";<br />
$y=1;<br />
while($y<=$excel->sheets[0]['numCols']) {<br />
$cell = isset($excel->sheets[0]['cells'][$x][$y]) ? $excel->sheets[0]['cells'][$x][$y] : '';<br />
echo "\t\t<td>$cell</td>\n"; <br />
$y++;<br />
} <br />
echo "\t</tr>\n";<br />
$x++;<br />
}<br />
?> <br />
</table><br /><br />
<br />
Sheet 2:<br /><br /><br />
<table><br />
<br />
$excel->read('example.xls'); <br />
$x=1;<br />
while($x<=$excel->sheets[1]['numRows']) {<br />
echo "\t<tr>\n";<br />
$y=1;<br />
while($y<=$excel->sheets[1]['numCols']) {<br />
$cell = isset($excel->sheets[1]['cells'][$x][$y]) ? $excel->sheets[1]['cells'][$x][$y] : '';<br />
echo "\t\t<td>$cell</td>\n"; <br />
$y++;<br />
} <br />
echo "\t</tr>\n";<br />
$x++;<br />
}<br />
?> <br />
</table><br /><br />
<br />
<br />
<br />
</body><br />
</html><br />
But now i need is how to display it row by row? Thanks.
For example: the 1st sheet document have 10 row of data. And i want it to display the first row, after reading the data then just showing the next row. thank you.