|
Posted by Rik Wasmus on July 25, 2008, 1:26 am
Please log in for more thread options
> I have this bit of PDO:
>
> $sql=3D'INSERT INTO customer(first_name,last_name) values(?,?)';
> $sth =3D $dbh->prepare($sql);
> $sth->execute('First Name','Last Name');
>
> Now that would be correct in Perl, what do I have to do to make tha=
t =
> work in PHP.
$sth->execute(array('First Name','Last Name'));
|