<?
if( sqlsrv_fetch($result,($page2-1)*$gPageSize2) ) {
for($i=0;$i<$gPageSize2;$i++) {
echo "<tr>";
$arr2= sqlsrv_fetch_array($result);
if($arr2) {
for($nOffSet2 = 0;$nOffSet2 < count($arr2);$nOffSet2++) {
echo "<td align=center>".$arr2[$nOffSet2]."</td>";
}
}
echo "</tr>";
}
}Cannot output table body content?
<table>?
You want to output a table, it would be better to assemble it with strings