Edit report at http://bugs.php.net/bug.php?id=52708&edit=1
ID: 52708 Updated by: ahar...@php.net Reported by: c...@php.net Summary: New PDO::quoteIdentifier($name) method -Status: Open +Status: Duplicate Type: Feature/Change Request Package: PDO related PHP Version: 5.3.3 Block user comment: N New Comment: Dupe of request #38196. Previous Comments: ------------------------------------------------------------------------ [2010-08-26 17:15:51] c...@php.net Description: ------------ Sometimes it would be very useful to have a PDO::quoteIdentifier($name) method for the same reasons there already is a PDO::quote($name) method i.e. because the quoting characters might be different among database engines and to prevent SQL-Injection-Attacks. Implementing it shouldn't be hard as the lower level DB engines provide a corresponding function or if not, the ANSI SQL quoting character could be used as fall-back. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/bug.php?id=52708&edit=1