Hi,
You just need to print the table lines in a loop when you're querying the datas
from db.
for example,maybe you can write it like:
print "<table>";
while(my $sql_line_ref = $sth->fetchrow_hashref) {
print qq {<tr><td>$sql_line_ref->{key1}</td>
<td>$sql_line_ref->{key2}</td>
</tr>
};
}
print "</table>";
Hope this helps and no test.
-jeff
Subject: Print output of Table on browser as it is being created
I am trying to find out how can i modify my CGI script so that I can
it can print out the long table of data as it is running the query.
is there any example that I can follow on?
________________________________________________________________________
Check out the new AOL. Most comprehensive set of free safety and security
tools, free access to millions of high-quality videos from across the web, free
AOL Mail and more.