Help for this page

Select Code to Download


  1. or download this
    my add.cgi will be like this,
    
    ...
       });
    $template->process($file,\%data)
        || die $template->error();
    
  2. or download this
    
    
    ...
    [% FOREACH element = add %]
      [% IF element.req == "all" %]
     <input type="text" name="[%element.name %]" value="[%element.default 
    +%]" size="58">
    
  3. or download this
     
    @names=$query->param();
     foreach $key (@names)
    ...
         $val=$query->param("$key");
          $hoh{$key}=$val;
         }
    
  4. or download this
    <form action="add.cgi" method="get" bgcolor="#e6ede7">
    
  5. or download this
     
    if(ref eq " "){
    pass the data to template ;
    ...
    {
    result data code;
    }