Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: Re: Display Database table with CGI and HTML::Template

by orkysoft (Friar)
on Oct 29, 2003 at 22:44 UTC ( #303138=note: print w/replies, xml ) Need Help??


in reply to Re: Display Database table with CGI and HTML::Template
in thread Display Database table with CGI and HTML::Template

I think your example is too complicated. It made me look twice, so anyone unfamiliar with HTML::Template will likely not understand it at all. You're actually using a template and inserting its output into another template. Pretty confusing.

A simpler method would be to use a TMPL_LOOP for the table of data entries, and put the actual data in a suitable data structure for HTML::Template to make a nice table in the TMPL_LOOP.

On second thought, that might not be much simpler at all, since it requires understanding of complicated data structures.

--

Morbo: "Windmills do not work that way!"

  • Comment on Re: Re: Display Database table with CGI and HTML::Template

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://303138]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (5)
As of 2017-01-19 13:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you watch meteor showers?




    Results (170 votes). Check out past polls.