|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2009-04-27 08:41 UTC] johannes@php.net
|
|||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Tue Dec 30 12:00:01 2025 UTC |
Description: ------------ Hi, Would it be possible to allow pdo->bindParam / pdo->bindValue to bind to column names. i.e. <?php $sql="UPDATE `table` SET :name='test'"; $stm=$db->prepare($sql); $stm->bindParam(":name","column",PDO::PARAM_STR); $stm->execute(); ?>