I have this bit of PDO:
$sql='INSERT INTO customer(first_ name,last_name) values(?,?)';
$sth = $dbh->prepare($sql );
$sth->execute('Fir st Name','Last Name');
Now that would be correct in Perl, what do I have to do to make that
work in PHP.
Is there not a succinct way to do this?
Jeff
$sql='INSERT INTO customer(first_ name,last_name) values(?,?)';
$sth = $dbh->prepare($sql );
$sth->execute('Fir st Name','Last Name');
Now that would be correct in Perl, what do I have to do to make that
work in PHP.
Is there not a succinct way to do this?
Jeff
Comment