Help for this page

Select Code to Download


  1. or download this
    $sth = $dbh->prepare('INSERT INTO tablename SET value=?')
    or die ("Couldn't prepare statement: ", $dbh->errstr);
    
    $sth->execute('hello.world')
    or die ("Couldn't execute statement: ", $sth->errstr);