Help for this page

Select Code to Download


  1. or download this
    # a new record to be inserted
    my %user_rec = (
    ...
    
    my $sth = $dbh->prepare($sql);
    $sth->execute(@values);
    
  2. or download this
    INSERT INTO user(first_name,address,last_name,phone) VALUES(?,?,?,?)