in reply to Voting script using MySQL and DBI

I highly suggest getting the HTML out of your code and using templates instead. HTML::Template and Text::Template are among many available systems. Using templating has saved me many headaches in CGI/DBI programming.

blokhead

Replies are listed 'Best First'.
Re: Re: Voting script using MySQL and DBI
by lagrenouille (Acolyte) on Sep 01, 2002 at 02:27 UTC
    G'day blokhead

    yeah, I had considered a template... however this poll script is intended to be sitting within an index page, that has options down each side and has the vote script included via SSI.

    Is it still ok to use templates given that the html I am printing is going to form merely a part of a much bigger html document ?

    Cheers
    lagrenouille