while(@result=$s->fetchrow())
{for($index=0;$index<@result;$index++)
{
print "<tr><td>$result[$index]</td></tr>";
}
all the data go in a different row, which is not what I want.
I I do {
print "<tr><td align=center>@vresult</td></tr>";
print"\t";
}
the result is better but it is not perefect as it only creates one column and not two which I'd like so that some heading could be added.
Could anyone help?
Thanks
}
all the
while(@result=$s->fetchrow()) {
print "<tr>";
for($index=0;$index<@result;$index++) {
print "<td>$result[$index]</td>";
}
print "</tr>";
}