Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $sql = $dbh->prepare("INSERT INTO table (col1, col2, col3, col4, col5) VALUES (?, ?, ?, ?, ?)");
- $sql->execute(array($val1, $val2, $val3, $val4, $val5)) or die(print_r($dbh->errorInfo(), true));
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement