Re: note 99024 deleted from sqlite3stmt.bindvalue by danbrown

From: Date: Thu, 22 Jul 2010 17:56:47 +0000
Subject: Re: note 99024 deleted from sqlite3stmt.bindvalue by danbrown
References: 1 2  Groups: php.notes 
Request: Send a blank email to php-notes+get-171055@lists.php.net to get a copy of this message
Oops. Below deleted accident. Placing it back on the site now. On Thu, Jul 22, 2010 at 13:57, <danbrown@php.net> wrote: > 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. > > -- > PHP Notes Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > -- </Daniel P. Brown> UNADVERTISED DEDICATED SERVER SPECIALS SAME-DAY SETUP Just ask me what we're offering today! daniel.brown@parasane.net || danbrown@php.net http://www.parasane.net/ || http://www.pilotpig.net/

« previous php.notes (#171055) next »