Re: DB Error: mismatch
| From: | Michael Wallner | Date: | Fri, 01 Apr 2005 14:24:12 +0000 |
| Subject: | Re: DB Error: mismatch | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-18471@lists.php.net to get a copy of this message | ||
Hi J Fainer, you wrote:
You can either issue this query through $db->query() (as it has no
parameter placeholders) or like the following:
$pq = $db->prepare('UPDATE foo SET c1=?, c2=?, c3=? WHERE k1=?');
$db->execute($pg, $params_array);
Have a look at the manual.
Regards,
--
Michael - < mike(@)php.net >
Attachment: [application/pgp-signature] OpenPGP digital signature signature.asc
Attachment: [application/pgp-signature] OpenPGP digital signature signature.asc