logo       

Re: Building tables dynamically with CGI class: msg#01171

lang.ruby.general

Subject: Re: Building tables dynamically with CGI class

Jason Underdown wrote:
>
> I figured out how to build tables dynamically using methods in the CGI
> class, but I can't figure out a way to add a header other than the
> method I use below. In the code below, I simply put the header row
> into the array of rows generated by successive fetches from the
> database.
>
> The problem with the method I use below is that it forces me to use
> <td> tags for the header columns when I would like to use <th> tags.
>
> Any suggestions?
>

Did you try CGI#th?



<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise