CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
INDEX
Search Posts SEARCH
POSTS
Who's Online WHO'S
ONLINE
Log in LOG
IN

Home: Perl Programming Help: Beginner: Re: [terrykhatri531] How to implement a checkbox that will send data to db: Edit Log



Zhris
Enthusiast

Jul 16, 2014, 5:58 AM


Views: 63134
Re: [terrykhatri531] How to implement a checkbox that will send data to db

Hi,

Could you show your template and CSS.

My guess though is you are referring to your source code and that the gaps are a result of newlines surrounding template tags, which become particularly messy when you have lots of conditions. If this is the case, there are lots of options for HTML::Template, one possibility is http://search.cpan.org/~mathew/HTML-Template-Bundle-2.9_01/lib/HTML/Template/Filters.pm#STRIP_TMPL_NEWLINE_WHITESPACE.

I don't use HTML::Template any more, eventually it wasn't able to support all my needs, instead I use Template Toolkit. You may eventually prefer to switch over.

Chris


(This post was edited by Zhris on Jul 17, 2014, 7:34 AM)


Edit Log:
Post edited by Zhris (Enthusiast) on Jul 16, 2014, 6:00 AM
Post edited by Zhris (Enthusiast) on Jul 17, 2014, 7:34 AM


Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives