|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2005-02-09 01:45 UTC] wez@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Fri Oct 24 18:00:01 2025 UTC |
Description: ------------ The bindParam() method works fine for using single string values into a query, but there is no method to use SQL features like $letters = array('a', 'b', ...); to create SQL like SELECT * FROM test WHERE letter IN ('a', 'b', ...); with proper string escaping. A method PDO::escapeString() is required so can build the SQL explicity.