Help for this page

Select Code to Download


  1. or download this
    my (@ffs) =("txtName", "txtCreated","txtDateren","txtOldname","txtDel"
    +);
    my (%cols) = ("txtName"=>"Listname", "txtCreated"=>"DateCreated","txtD
    +ateren"=>"DateRenamed",
            "txtOldname"=>"OldListname","txtDel"=>"DateDeleted");
    
  2. or download this
    foreach(@ffs)
        {
    ...
              $updatestring = "$updatestring,[$cols{$_}] = \'$fd{$_}\'";
          }
        }
    
  3. or download this
    my $sth = $db->prepare("UPDATE table SET $updatestring WHERE tbl.field
    + = '$lname'");