[htmltmpl] H::T and Table Data
Brought to you by:
samtregar
From: Roy <ro...@ir...> - 2002-08-07 23:32:21
|
Hello, I am writing a script that displays data in a 2-column format. I am using HTML::Pager in order to only display a certain amount of records per page. Given that, what is the best method to loop through the records and retrieve, essentially two records per HTML table row. To clarify the above, here is a snippet <html page> <HTML> <HEAD> </HEAD> <BODY> <TABLE> <TR> <TD> RECORD 1 </TD> <TD> RECORD 2 </TD> <TR> <TR> <TD> RECORD 3 </TD> <TD> RECORD 4 </TD> <TR> </TABLE> </BODY> </HTML> </html page> Please keep in mind that there may be an even or odd amount of records. Any ideas? TIA. Roy Rubin Irubin Consulting - Internet Solutions ro...@ir... Phone (310) 402-0120 http://www.irubin.com/ |