Help for this page

Select Code to Download


  1. or download this
    my $sort = $q->param("sort");
    
    if($sort ne "emp_id" || $sort ne "emp_last" || $sort ne "dept") {
       $sort = "emp_last"; }
    
  2. or download this
    my $search_text = param("search_text") || "";
    
    if($search_text ne "") {
    ...
    
    while(@emp_matches = $sth->fetchrow_array()) {
          $emp_matches{$emp_matches[0]} = $emp_matches[1]; } }