Help for this page

Select Code to Download


  1. or download this
    my $q1 = $dbh->prepare("sql statement");
    my $q2 = $dbh->prepare("sql statement 2 with ?");
    ...
          # code here
       }
    }
    
  2. or download this
    my $sth = $dbh->prepare("select * from table where field = :nam");
    $sth->bind_param(':nam', $value);
    $sth->execute();