Help for this page

Select Code to Download


  1. or download this
    my $statement2 = "select unit_name from unitNamesTable";
    my $sth = $dbh->prepare($statement2);
    $sth->execute();
    ...
            print "<input type='hidden' name=unit_name value='$unit_name'>
    +";    
            print "<input type='image' name='$unit_name' id='$unit_name' a
    +lt=airConButton src='../../images/unit.jpg' height='100px' width='100
    +px' onclick='document.forms[0].unit_name.value =\"$unit_name\";this.f
    +orm.submit()'></input>";
        }