Help for this page

Select Code to Download


  1. or download this
    $sql = "show columns from my_table";
    execute
    while (there are $field_names) {
         print "<input type='text' name='".$field_name."'>"
    }
    
  2. or download this
    $public_names{$field_1} = "foo";
    $public_names{$field_2} = "bar";
    foreach $key (keys %public_names) {
         print "<input type='text' name='".$public_names{$key}."'>"
    }
    
  3. or download this
    
    $sql = "show columns from my_table";
    ...
         $scrambled =~ tr/[a-z]/[w,t,5,s,c,....,7,a]/;
         return $scrambled;
    }