note 69304 added to ref.pdo

From: Date: Wed, 30 Aug 2006 21:56:04 +0000
Subject: note 69304 added to ref.pdo
Groups: php.notes 
Request: Send a blank email to php-notes+get-116525@lists.php.net to get a copy of this message
Please note this: Won't work: $sth = $dbh->prepare('SELECT name, colour, calories FROM ? WHERE calories < ?'); THIS WORKS! $sth = $dbh->prepare('SELECT name, colour, calories FROM fruit WHERE calories < ?'); The parameter cannot be applied on table names!! ---- Server IP: 212.124.37.9 Probable Submitter: 80.137.43.189 ---- X-Spam-Status: No, hits=3.1 required=5.0 tests=DATE_MISSING,FROM_NO_LOWER autolearn=no version=2.64 ---- Manual Page -- http://www.php.net/manual/en/ref.pdo.php Edit -- https://master.php.net/note/edit/69304 Del: integrated -- https://master.php.net/note/delete/69304/integrated Del: useless -- https://master.php.net/note/delete/69304/useless Del: bad code -- https://master.php.net/note/delete/69304/bad+code Del: spam -- https://master.php.net/note/delete/69304/spam Del: non-english -- https://master.php.net/note/delete/69304/non-english Del: in docs -- https://master.php.net/note/delete/69304/in+docs Del: other reasons-- https://master.php.net/note/delete/69304 Reject -- https://master.php.net/note/reject/69304 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#116525) next »