note 89441 rejected from pdostatement.execute by danbrown

From: Date: Sun, 08 Mar 2009 02:16:01 +0000
Subject: note 89441 rejected from pdostatement.execute by danbrown
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-151614@lists.php.net to get a copy of this message
Note Submitter: atrauzzi at gmail dot com ---- It would be nice to be able to create an instance of statement without passing a query initially. Reason being that if you are generating your query programmatically, you can't really use bindParam(). The ideal order would be: o Create statement. o Bind parameters. o Specify query & get optimization. o Run This is especially true because using "?" params which allows for this lifecycle prevents you from specifying data type. So no IN() variables as all my strings end up escaped...

« previous php.notes (#151614) next »