Help for this page

Select Code to Download


  1. or download this
      $cursor = $dbh->prepare("insert into table (a, b) values (?, ?)");
      $cursor->execute($a_var, $b_var);
    
  2. or download this
      $id = $dbh->{mysql_insertid};