note 99024 deleted from sqlite3stmt.bindvalue by danbrown

From: Date: Thu, 22 Jul 2010 17:57:21 +0000
Subject: note 99024 deleted from sqlite3stmt.bindvalue by danbrown
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-171054@lists.php.net to get a copy of this message
Note Submitter: zeebinz at gmail dot com ---- Note that this function also works with positional placeholders using the '?' token: <?php $stmt = $db->prepare('SELECT * FROM mytable WHERE foo = ? AND bar = ?'); $stmt->bindValue(1, 'somestring', SQLITE3_TEXT); $stmt->bindValue(2, 32, SQLITE3_INTEGER); ?> The positional numbering starts at 1.

« previous php.notes (#171054) next »