If you need to handle the special case of having no data, you can do something like this in your template file:
<TMPL_IF LOGGED_EVENTS> <TMPL_LOOP LOGGED_EVENTS> ... </TMPL_LOOP> <TMPL_ELSE> No Data! </TMPL_IF>
In reply to Re: HTML::Template - how to handle TMPL_LOOP parameter if no rows returned
by scorpio17
in thread HTML::Template - how to handle TMPL_LOOP parameter if no rows returned
by hmadhi
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |