Help for this page

Select Code to Download


  1. or download this
    use strict;
    use warnings;
    ...
        grep {defined $_ && length $db[$_]} @usedIds;
    
    print $template->output ();
    
  2. or download this
    For example, if user defines in a template a string "%section_10%" I r
    +etrieve
    value "10", make a mySQL query to select some text from row with id = 
    +10 and
    then replace text with query result "should".