|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2009-10-06 15:03 UTC] sjoerd@php.net
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Oct 25 21:00:01 2025 UTC |
Description: ------------ I want to make a query like this "UPDATE class=? WHERE user IN (?)" $sth = $DBH->prepare($query); try { $sth->execute(array('class1',$an_array)); } catch(PDOException $e) { die("PDO error: ".$e->getMessage()." (".__FILE__." ".__LINE__.")"); } So I expect this to work .... but it didn't. :( Reproduce code: --------------- --- From manual page: book.pdo ---