<br><br>-ASC<br><br><div><span class="gmail_quote">On 3/2/07, <b class="gmail_sendername">Michael G Schwern</b> <<a href="mailto:email@example.com">firstname.lastname@example.org</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Andrew Clapp wrote:<br>> I hope there is a good way to do this.<br>><br>> I have a very nice function in my CGI app that makes a nicely formatted<br>> table out of a few arguments, the title, an sql query, etc.
<br>> the header by the time I want to generate the table.<br>><br>> How is this done correctly?<br><br>Instead of printing HTML fragments immediately, use a template and pass it<br>in all the information it needs to render the page.
<br></blockquote></div><br><br clear="all"><br>-- <br>"Yes, could I please have half an order of magnitude and a side of PI?"<br>