Re: MDB docs

From: Date: Wed, 29 Oct 2003 14:14:36 +0000
Subject: Re: MDB docs
References: 1  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-8677@lists.php.net to get a copy of this message
Lukas Smith wrote:
From: Jeroen Houben [mailto:jeroen@terena.nl] Sent: Wednesday, October 29, 2003 3:00 PM
Okay. But which one should I use, execute() or executeQuery() and with which arguments?
execute() behaves like the PEAR:DB equivalent in that you can pass it the data for the execute. executeQuery() requires that you first set all of the values for the next execute using one of the setParam methods. Ah okay. Thanks.
So if I use the execute() method, will all ? placeholders still be replaced with getTextValue($value) ? I have a large table with only varchar columns so that would save a lot of time. Jeroen

« previous php.pear.general (#8677) next »