note 99024 added to sqlite3stmt.bindvalue

From: Date: Thu, 22 Jul 2010 17:51:26 +0000
Subject: note 99024 added to sqlite3stmt.bindvalue
Groups: php.notes 
Request: Send a blank email to php-notes+get-171053@lists.php.net to get a copy of this message
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. ---- Server IP: 92.48.74.199 Probable Submitter: 93.97.144.18 ---- Manual Page -- http://www.php.net/manual/en/sqlite3stmt.bindvalue.php Edit -- https://master.php.net/note/edit/99024 Del: integrated -- https://master.php.net/note/delete/99024/integrated Del: useless -- https://master.php.net/note/delete/99024/useless Del: bad code -- https://master.php.net/note/delete/99024/bad+code Del: spam -- https://master.php.net/note/delete/99024/spam Del: non-english -- https://master.php.net/note/delete/99024/non-english Del: in docs -- https://master.php.net/note/delete/99024/in+docs Del: other reasons-- https://master.php.net/note/delete/99024 Reject -- https://master.php.net/note/reject/99024 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#171053) next »