Re: prepared statement

From: Date: Thu, 26 Jun 2008 01:24:06 +0000
Subject: Re: prepared statement
References: 1 2 3 4  Groups: php.general 
Request: Send a blank email to php-general+get-275969@lists.php.net to get a copy of this message
so only benefit for use prepared statement in Web environment is to prevent SQL injection? regards chris smith-9 wrote: > > ctx2002 wrote: >> >> I mean for each different requests/connection how can i use same prepared >> statements object that was >> generated by PDO lib/mysql Server. > > You can't. > > Resources/connections are done per request and can't be shared - it's > done that way by design. > > -- > Postgresql & php tutorials > http://www.designmagick.com/ > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > > -- View this message in context: http://www.nabble.com/prepared-statement-tp18123270p18124946.html Sent from the PHP - General mailing list archive at Nabble.com.

« previous php.general (#275969) next »